Computer Science, asked by devikababu1253, 6 months ago

write a program to display the area of a square using function​

Answers

Answered by sakshi0812
3

Program :

  • int main() { int side, area;
  • printf("\nEnter the Length of Side : ") scanf("%d", &side)
  • area = side * side; printf("\nArea of Square : %d", area)

thank u... please mark me as brainliest...stay home n stay safe

Answered by laddureddy
1

Answer:

1) int main() { int side, area;

2) printf("\nEnter the Length of Side : "); scanf("%d", &side);

3) area = side * side; printf("\nArea of Square : %d", area);

Similar questions