Page 1 of 1

IN JAVA CODE: (answer must be round off to two decimal places> see test cases results) It's enrollment season again but

Posted: Mon May 09, 2022 6:17 am
by answerhappygod
IN JAVA CODE: (answer must be round off to two
decimal places> see test cases results)
It's enrollment season again but for some reason the system just
stopped working! I think we can fix it but we're going to need a
temporary payment system while we get this thing going. You up for
it? Great! Here are the details:
[1] - Cash - 10% Discount
[2] - Two-installment - 5% interest
[3] - Three-installment - 10% interest
Note: A discount will decrease the total
amount while an interest will increase the total amount.
Input
1. The mode of payment
2. Amount to be discounted/increased
Output
The first line will contain a message prompt to input the mode
of payment. The second line will contain a message prompt to input
the amount to be discounted/increased. The last line contains the
total amount to be paid.
Test Case 3: