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
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
ad exchange
No comments:
Post a Comment