Write a program to accept a number and display it and it's square value
Answers
Answered by
1
Answer:
#include <iostream. h>
Int main()
{
int a, square;
cout<<``\n enter the value of a``;
cin>>a;
cout<<``\n a value =``<<a;
square =a*a;
cout<<``\n area of square =``<<square ;
return 0;
}
Similar questions