Write a program to enter the perimeter of a square and find its Area.
For Example:
INPUT: Enter the perimeter of a square: 64
OUTPUT: Area of the square is: 256
Answers
Answered by
3
Answer:
#include<stdio.h>
#include<conio.h>
int main()
{
int sq,area;
printf("\nEnter the permeter of square :");
scanf("%d",&sq);
area=sq*sq;
printf("\nArea of the square is : %d",area);
getch();
return(0);
}
Similar questions
Science,
3 months ago
English,
3 months ago
Computer Science,
3 months ago
Physics,
7 months ago
Chemistry,
7 months ago
Math,
1 year ago
Political Science,
1 year ago