Sunday, October 17, 2010

#include

class integer
{
int m,n,temp;
public:
integer() { temp = 10+10;}
integer(int a,int b) { temp = a*b;}
void display(){cout<<<" ";}
};

main()
{
integer int1;
integer int2(10,10);
int1.display();
int2.display();

}

No comments:

Post a Comment