Pages

Tuesday, 2 September 2014

Program for finding square of any number



// Code is given below



#include<iostream>
using namespace std;
int main()
{
int a,b;
cout<<"Enter the number :";
cin>>a;
b = a * a ;
cout<<"Sqaure of "<<a<<" is = "<<b<<"\n\n\n";
return 0;

}

No comments:

Post a Comment

thnx for visiting my blog