True Gift
talentsealedjobs
Home
Mega Job Fair List August 2023
Saturday, October 31
To find sqaure of numbers using C program!
#include<stdio.h>
#include<conio.h>
void main()
{
int a,b,squarea,squareb;
clrscr();
printf("Enter the 2 numbers to find its square\n");
scanf("%d%d",&a,&b);
squarea=a*a;
squareb=b*b;
printf("squarea = %d, squareb = %d", squarea, squareb);
getch();
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment