Interest Calculator
CodeChefOpen on judge ↗
Develop a program to find simple interest and compund interest for a given principal amount, rate and tenure. In case of a bad input, program should output appropriate message as mentioned in output specification below. Simple interest is interest paid only on the original principal, not on the interest accrued Simple interest is determined by multiplying the interest rate by the principal by the
HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17
CodeSearch Tutor
Hints, not spoilers — it won’t hand over the full solution unless you insist.
Sign in to chat with the tutor and save your progress.
Sign in to start