#include<iostream.h>
#include<conio.h>
#include<conio.h>
{
private:
int a;
public:
void getdata(int x)
{
a= x;
}
{
a++;
}
void display()
{
cout<<"\n a="<<a;
}
}
main()
{
clrscr();
box b1;
int x;
cout<<"Enter x=";
cin>>x;
++b1;
++b1;
++b1;
++b1;
getch();
}
No comments:
Post a Comment