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

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

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

Post 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:
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply