Question: CIS 1 1 1 5 SP 2 0 2 4 ch 0 4 _ lab 0 2 The area of a rectangle is the length
CIS SP chlab
The area of a rectangle is the length times the width.
Complete the python program, utilizing online GDB below to do the following:
prompt for the length and width of two rectangles, call them R & R
calculate and display the area for each rectangle
determine and display which rectangle has the greater area
if neither are greater, display that result
copy program below this line
# student name SP chlab
The area of a rectangle is the length times the width.
Complete the python program, utilizing online GDB below to do the following:
prompt for the length and width of two rectangles, R & R
calculate and display the area for each rectangle
determine and display which rectangle has the greater area
if neither are greater, display that they are equal
# prompt for input
lengthfloatinputenter the length for # rectangle
widthfloatinputenter the width for # rectangle
Rlengthwidth
if RR:
printrectangle R is larger than R
elif
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
