Program in c to Calculate the Square of a Number



Write a Program in c to Calculate the Square of a Number

\* C Program to to Calculate the Square of a Number *\

# include < stdio.h >
int   main( )
{

int   num, sqr  ;
printf(" Enter the Number : ") ;
scanf("%d ", & num) ;
sqr = num * num ;
printf(" \n Squar of Number is : ") ;
printf("%d ", sqr) ;
return ( 0 ) ;

}

Output of Program: