Write a basic program to find area and perimeter of square?
Answers
Answered by
5
Answer:
Below program, first takes length of side as input from user using scanf function and stores in a floating point variable. To find the area of square we multiple the length of side with itself and store area in a floating point variable. At last, it prints the area of square on screen using printf function
Request:
If it is helpful to you them mark me as Brilliant
Similar questions