Hoecount Balancer: Write a Visual Contoh The porn should read numerie values that reprobati Dies In addition,
Fantastic news! We've Found the answer you've been seeking!
Question:
Hoecount Balancer: Write a Visual Contoh The porn should read numerie values that reprobati Dies In addition, the program solution should contorna die valves will be read to indicate display current balanced The program will then read integer values on a time will the The first value read is the starting balance Negative numbers are checks that reduce the account bale #sitive numbers (except for sentinel values are deposits that we Any time a check is processed and the resulting balance is negative, the and there is a $10 fee assessed to the account (eg, the balances reduced by When the user inputs the special (sentinel) value 8888, the program should this as a deposit, but instead should display the current account balance with When the user inputs the special (sentinel) value 9999, the program should NOT treat this as a deposit, but instead should calculate the monthly service fee, which is either display the monthly service fee and the end-of-the-month balance with two me $10 or 10 percent of the account balance, whichever is smaller. Then the program should lye for BALANCE 100 2 or NNOUNT-50 Lage For ANCANT ROBES Me for AMDUNT E30 als for ARCUTE-40 for AMOUNT 70 WALA or ADUNT30 valge to AMOUNT:20 Ye Tee is 32.00 Wat the end of the month is $27.00 The current balance is #### valse for AMOUNT 108 A MOUNT 9999 sentinel value (9999) is read, tional 10 dollars). ase formatted similar to: formatted similar to the following lines: The monthly service fee is **** The account balance at the end of the month is *** The program ends after displaying the end-of-the-month account balance Two sample runs are shown below: ar value for BALANCE: 300 We a salue for AMOUNT:500 e type a value for AROUNT: 400 pe a value for AMOUNT : 9999 They service fee is $10.00 balance at the end of the month is 11,199.00 ng the balance 15 520.00 18 540.00
Posted Date: