Java Program – to calculate Simple Interest, Amount and Compound Interest using a switch.

Output: