Computer Science, asked by Prisilla, 7 months ago

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