Roberto B.

asked • 03/12/18

look on my discription ASAP!

The Capital One credit card limits a single charge to P1000 and the total monthly charges to P6000. Write a program that accepts an integer n representing the number of transactions for one month, followed by the peso/cent values of each of the n transactions (double). Your program should compute and print the minimum, maximum, and sum of all transactions for the month. If you exceed either limit (a single transaction over P1000, or a total over P6000) then the program displays the appropriate message(s).

1 Expert Answer

By:

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.