ITS320 Module 4 Option 1 Repetition Control Structure – Five Floating Point Numbers



Option #1: Repetition Control Structure – Five Floating Point Numbers
Assignment Instructions
Write a program that utilizes a loop to read a set of five floating-point values from user input. Ask the user to enter the values, then print the following data:
• Total
• Average
• Maximum
• Minimum
• Interest at 20% for each original value entered by the user.
• Use the formula: Interest_Value = Original_value + Original_value*0.2
Assignment Submission Instructions
• Submit a text file containing your Python code into the Module 4 drop box. Name your file
ITS 320 Module 4 Option 1
The solution includes source code and screenshot.
Attachments [Move over files to preview content of those files] (14.17 KB)
xx __xxxx__ == “__xxxx__”:
xxxxx (‘xxxxxx xxxxx 5 xxxxx xxxxxxx:’)
xxxxx = 0
xxxxx = []
xxx xxx xx xxxxx(5):
number = float(input()) array.append(number) total += number # end for print (‘Total: %s’ % total) print (‘Average: %s’ % (total / 5.0)) print (‘Maximum: %s’ % max(array))
xxxxx (‘xxxxxxx: %x’ % xxx(xxxxx))
xxxxx (‘xxxxxxx: %x’ % xxx(xxxxx))
xxxxx (‘xxxxxxxx: %x’ % (xxxxx * 1.2))
Price: $9
Buy Now
Added to cart
Add to Cart
Added to cart
Note: We offer a discount for buyers who purchase multiple items.
You May Also Like:
ITS320 Module 1 Option 1 Create a Python Application that outputs mouse
ITS320 Module 1 Option 2 Create a Python Application that read two integers and print two lines
ITS320 Module 2 Option 1 Creating a Python Application for string validation
ITS320 Module 2 Option 2 Creating a Python Application using dictionary
ITS320 Module 3 Option 1 Creating a Program to Calculate the Value of a Ferrari
ITS320 Module 3 Option 2 : Creating a Program to Calculate Weekly Average Tax Withholding
ITS320 Module 4 Option 2 Repetition Control Structure – Grade Statistics


There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.