30.9k views
5 votes
Prompt: Create a program that asks the user continuously the dollar amount of their recent Amazon purchases until they say done. Store those numbers in a list. Afterwards calculate the following:

Total Amount Spent
Maximum amount spent on a single purchase
Minimum amount spent on a single purchase
Number of purchases
Amount of money spent on taxes. (Sales tax in NY is 8.875 percent).

Things to keep in mind:
Input is stored as string so you need to convert to float.
If you or your family use Amazon, try using your own data!

Pls Dont scam me

User Groundhog
by
3.9k points

1 Answer

6 votes

Answer:

oh sorry I don't know that but...

Step-by-step explanation:

Thanks for the points hehe

User Estin
by
3.7k points