write a program a) To calculate the area of a square.b)Toprint the message'Adult'or'Child'according to the given age.c) To input a number from the user and displays "ODD"if the number is the number is odd ,
Answers
Answered by
0
Explanation:
a) #include<stdio.h>
#include<conio.h>
void main()
{
int a, area;
printf ( " enter the side of a square");
scanf("%d",&a);
area=4*a*a;
printf("area of the square =%d",area);
}
Similar questions
Computer Science,
3 months ago
Math,
8 months ago
English,
8 months ago
Math,
1 year ago
Math,
1 year ago