Computer Science, asked by kim2146, 8 months ago

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 sowjanya22
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