Question: ( 1 ) Prompt the user to enter six numbers, each corresponding to the sale amount ( in dimes and cents ) in last six
Prompt the user to enter six numbers, each corresponding to the sale amount in dimes and cents in
last six months in USD. Use a for loop to take input. pts
Example:
Enter Sale Amount in Month : Enter Sale Amount in Month : Enter Sale Amount in Month : Enter Sale Amount in Month : Enter Sale Amount in Month : Enter Sale Amount in Month :
Store all the inputs in a list. Output the list. pts
Example:
Output the average of the month sale with two digits after the decimal point. pts
Hint: Use a conversion specifier to output with a certain number of digits after the decimal point.
Example:
The average sale amount in months is : USD
Output the maximum sale amount. pts
Example:
The maximum sale amount is : USD
Prompt the user for a particular month between and Output the sale at the user specified month and the corresponding value in Euro.
Hint: USD Europts
Example:
Enter month between and to display sale amount in Euro :
Sale amount in month is Euro
If invalid input, print "Invalid month entered. Try Again." and prompt user to enter again.
Invalid month entered. Try Again.
Sort the list's elements from smallest to largest. Print the sorted list. pts Example:
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
