write a program to find and display the square of a given number
Answers
Answered by
0
Answer:
#include <iostream>
using namespace std;
int main()
{
int num;
cout<<"Enter a number to find square\n";
cin>>num;
cout<<"Square of "<<num<<" is "<<num*num;
return 0;
}
Similar questions