Write a program to find Square of the number - Program of C Languages - Program to Find Square of the number

 Program to Find the Square of the number

#include<stdio.h>

int main()

{

  int n, Sq;

  printf("Please Enter the number = ");

  scanf("%d", &n);

  Sq = n * n;

  printf("Square of the number %d is  =  %d", n, Sq);

  return 0;

}

इस कोड को हमने CODEBLOCK पर बना कर run किया है

OUTPUT

Comments