Question: Write a program that asks the user for the length of the side of a square. Your program will read in the length as an

Write a program that asks the user for the length of the side of a square. Your program will read in the length as an integer and output two pieces of information about the square: its area and its perimeter. It should then check the area of the square. If the area is larger than 100, the program should output the following message You will need a bigger sheet of paper, if it is 100 or less it should output the following message You do not need a larger sheet".

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!