Develop a program that calculates the area of rooms in feet. The program will continuously prompt the user for two integer values (length and width) that represent the dimensions of a room in feet. The logic of the program is as follows:
When the user enters zero for the length value, the program will end.
If the user enters a negative number for either length or width, continue to prompt the user until the value is not negative.
If both the length and width values entered are greater than 0, the area of the room is calculated and printed to the console.
If the width is 0, the area of the room is calculated using the length value.
Answers
Answered by
0
Answer:
They were talking about the types of soil for
agriculture in the television in
(d) Four
Similar questions