Using the switch statement, write a menu driven program to calculate the maturity
amount of a bank deposit. The user is given the following options:
1) Term Deposit
ii) Recurring Deposit
For option 1) accept principal amount (p), rate of interest (r) and time period in years (n).
Calculate and output the maturity amount (A) receivable using the formula:
A = p( 1 + r/100)
For option (1) accept monthly instalment (p), rate of interest (c) and time period in months
(n). Calculate and output the maturity amount (A) receivable using the formula:
A=p* n + p* (n* (n + 1))/2* r/100 * 1/ 12
For an incorrect option, an appropriate error message should be displayed.
Answers
Answered by
0
Answer:
Happy birthday ridham u are my bestii's sis but u also my bobo bcozz jo muskan ka,hai vo meraa haii that's why u are myy alsoo small sis❤️❤️ bs party de diyee terii bhn pa phelw te do party hai third toh deva gyi isikrka #party hard or bss teri traiff kya karuu kuch krne ke lykk haii ni ferr bhi krr duu . aj tk kisi ne ridham jaisii ladkii nhi dekhii hogii bilkul shntt shmbavv ki na kisi te lad di apne kam te mtlb rkhaa bs bhut ho gyi tariff
Thank you
Your favorite bobo
Garima- The legend
Similar questions