Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

write a python program using directions. Read everything carefully and follow directions. Follow the critiera rubric Write a program that: 1. prompts the user to

write a python program using directions. Read everything carefully and follow directions. Follow the critiera rubric
image text in transcribed
image text in transcribed
Write a program that: 1. prompts the user to enter his name, 2. welcomes the user to the program. 3. prompts the user to enter four floating point numbers. 4. prints the largest and the smallest of the four inputs without using the max or min function. 5. prints the sum of the numbers. 6. prints the average of the numbers. For example: Enter your name: Maryam Jose Welcome to my program Maryam Jose! Enter a number: 4 Enter a number: 9 Enter a number: 2.5 Enter a number: 12.5 The largest number is 12.5 The smallest number is 2.5 The sum is 28.0 The average is 7.0 Criteria Ratings Pts All lines are indented correctly 1 pts Comments at the top of the program: First last name./date/what your program does, 3 pts The run is included as a comment at the end of your code you must have at least 3 sample runs. 4 pts The program is well-organized. Example: value1"value2 + 3 # not good style value 1 -value2 + 3 # good style 2 pts Names of your variables are meaningful 2 pts Comment before any calculation, 2 pts The program is running with the correct output. All outputs must be rounded to one decimal place. 12 pts The code has a constant variable 2 pts comment before any if block 2 pts Total Points: 30

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

The Database Experts Guide To SQL

Authors: Frank Lusardi

1st Edition

0070390029, 978-0070390027

More Books

Students also viewed these Databases questions

Question

305 mg of C6H12O6 in 55.2 mL of solution whats the molarity

Answered: 1 week ago