Mr. Agrawal invests a certain sum at 5% per annum compound interest for three years. Write a program in Java to calculate-:

 

Mr. Agrawal invests a certain sum at 5% per annum compound interest for three years. Write a program in Java to calculate-:



QUESTION-:

Mr. Agrawal invests a certain sum at 5% per annum compound interest for three years. Write a program in Java to calculate-:

 

       (a)the interest for the first year.

       (b)The interest for the second year.

       (c)The amount after three years.

 

       Take the sum as an input from the user.


Post a Comment

0Comments