Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

code in python please show the analysis, specification and design for the code! Problem 1 Area of Rectangles (12.5 points) The area of a rectangle

code in python
image text in transcribed
please show the analysis, specification and design for the code! Problem 1 Area of Rectangles (12.5 points) The area of a rectangle is the multiplication of the rectangle's length with the rectangle width. Write a program that asks for the length and width of two rectangles. And prints which rectangle has the greater or the same area. Problem 2 Days of the week (12.5 points) Write a program that asks the user to enter a number in the range of 1 through 7. The program should display the corresponding day of the week, where 1 = Monday, 2 = Tuesday, 3 = Wednesday, 4 = Thursday, 5 Friday, 6 = Saturday, 7 = Sunday. The program should display an error message if the user enters a number that is outside the range of 1 through 7 For the both problems: Use documentation Show the analysis, specifications, design Write your code in the script mode

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Big Data, Mining, And Analytics Components Of Strategic Decision Making

Authors: Stephan Kudyba

1st Edition

1466568704, 9781466568709

More Books

Students also viewed these Databases questions

Question

Why does sin 2x + cos2x =1 ?

Answered: 1 week ago

Question

What are DNA and RNA and what is the difference between them?

Answered: 1 week ago

Question

Why do living creatures die? Can it be proved that they are reborn?

Answered: 1 week ago

Question

13. You always should try to make a good first impression.

Answered: 1 week ago