Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

whithout using a tool while solution using jupyter I want the solution to be a text ... no image! QUESTION NO. 3: MANDATORY OPTIONAL/O BONUS

whithout using a tool while solution using jupyter I want the solution to be a text ... no image! image text in transcribed

QUESTION NO. 3: MANDATORY OPTIONAL/O BONUS (12 POINTS) 1. Write a program that asks the user to enter 2 values (The sides of a square or rectangle). Check the values if it for the square or the rectangle, then calculate the area of it, finally print this output : The area of the square or rectangle): (The Area) (4 Pts) 2. Write a program that asks the user to enter 5 marks ml, m2 and m3, m4. Then the program will ask the user to enter one of the following options: A or B or C or D. If the user entered (A), then the program will print the minimum mark. If the user entered (B), the program will print the largest mark, if the user entered (C), the program will print the summation of all marks, if the user entered (D), then the program will print the Average of marks as shown below (8 Pts). Please enter MI: 50 Please enter M2: 60 Please enter M3: 30 Please enter M4: 99 Please enter an option: A) Get the minimum mark. B) Get the largest mark C) Get the summation of all marks D) Get the average of all marks

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_2

Step: 3

blur-text-image_3

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

Database Horse Betting The Road To Absolute Horse Racing 2

Authors: NAKAGAWA,YUKIO

1st Edition

B0CFZN219G, 979-8856410593

More Books

Students also viewed these Databases questions