Sunday, 27 November 2011

C++ Program For Find Square


#include<iostream.h>
#include<conio.h>
class test
 {
  int i;
  public:
  void square()
   {
    cin>>i;
cout<<i * i;
   }
 };
 void main()
  {
    test ob;
ob.square();
getch();
  }

No comments:

Post a Comment