Question: 2 4 FA - CIS 1 1 5 - N 8 5 2 : Intro to Prog & Logic Complete the python program, utilizing online

24FA-CIS115-N852: Intro to Prog & Logic
Complete the python program, utilizing online GDB, below to do the following:
======================== copy program below this line ===================================
# student name 2024FA ch04_lab02
'''
The area of a rectangle is the length times the width.
Complete the python program, utilizing online GDB, below to do the following:
1. Prompt for the length and width of two (2) rectangles, R1 & R2
2. Calculate the area for each rectangle
3. Determine and display which rectangle has the greater area
4. If neither are greater, display that they are equal
'''
# ========================== prompt for input
length=float(input('enter the length for #1 rectangle '))
width=float(input('enter the width for #1 rectangle '))
R1=length*width
if R1>R2:
print('rectangle R1 is larger than R2')
elif
# COMPLETE THE PYTHON CODE FOR THE REMAINDER OF THE PROGRAM HERE

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 Programming Questions!