Question: 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 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
Get step-by-step solutions from verified subject matter experts
