fork(2) download
  1. #include<math.h>
  2. int main()
  3. {
  4. int a,b;
  5. printf("Enter the number.");
  6. scanf("\n%d",&a);
  7. b=pow(a,2);
  8. printf("\n%d",b);
  9. return 0;
  10. }
Success #stdin #stdout 0s 2056KB
stdin
5
stdout
Enter the number.
25