Question: 5 4 7 8 3 9 3 2 2 0 6 4 4 ar 3 3 2 9 7 In order to paint a wall
ar
In order to paint a wall that has a number of windows, we want to know itsarea. Each window has a width of and a height of Write a program that reads the width and height of the wall and the number of windows, using the prompts
Wall width:
Wall height:
Number of windows:
Note that each prompt should end with a space.
Then print the area. The width and height of the wall should be entered as a floatingpoint value and the number of windows as an integer. Empty print statements are included for output formatting.
# Prompt for and read the wall width
# Your code goes here
print
# Prompt for and read the wall height
# Your code goes here
print
# Prompt for and read the number of windows
# Your code goes here
print
# Compute the area of the wall without the windows
# Your code goes here
print
printArea: area
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
