#include<math.h>int main(){ int a,b; printf("Enter the number."); scanf("\n%d",&a); b=pow(a,2); printf("\n%d",b); return 0;}
5
Enter the number. 25
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!