Write a program to find the square of the given number

//this is a program to find the square of the given number
#include<iostream>
#include<conio.h>
using namespace std;
int main()
{
int num,sqr;

cout<<"\n\nEnter the number: ";
cin>>num;

sqr=num*num;

cout<<"\n\nSquare: "<<sqr;

return 0;
}

Previous
Next Post »