Advertisements
Mr.Shyam lal Agarwal invests certain sum at 5% per annum compound interest for 3 years .write a program in java to calculate : a) the interest for the 1st year b) the interest for the 2nd year C) the amount after 3 years taking sum as an input from the user.