Computer Science, asked by ky1374075, 7 months ago

write a program to find and display the square of a given number​

Answers

Answered by vijayghore
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