Programming languages
Home
Program to print square of a given number
Program to print square of a given number
#include<stdio.h>
void main()
{
int n, sq;
printf("Enter number:");
scanf("%d",&n);
sq= n*n;
printf("Square= %d", sq);
}
Post a Comment
0 Comments
Search This Blog
Ad Code
Responsive Advertisement
Report Abuse
Ad Space
Responsive Advertisement
Social Plugin
Recent Post
2/recent/post-list
Popular Posts
Program to find perimeter and area of a rectangle
May 22, 2021
Flowchart to check time
May 07, 2021
0 Comments