Develop a program that prompts the user to enter the length andwidth of a rectangle. Use a function
for getting the length and separate function for getting thewidth. The program will then calulate the
area of the rectangle using a function. After the area iscalculated print out the area of the rectangle
(this will not be done via a function).
Hint 1: You will have a main module and 3 functions.
@Run your program twice using the following test data.
First run: length of 4 and a width of 2
Second run: length of 5 and a width of 3
Results:
First run:
Area = 8
Second run:
Area = 15
Expert
OR
PayPal Gateway not configured
OR
PayPal Gateway not configured
PayPal Gateway not configured
PayPal Gateway not configured