Computer Science, asked by Anonymous, 1 month ago

For your school fest, you have to raise sponsorship amount of Rs.50000/-. Two groups have raised Rs.5200/- and 6800/- respectively. Write a program to divide the rest of the amount in to five other groups that have still to raise the amount.
pls answer it's urgent ​

Answers

Answered by revanthkumarreddy55
4

Answer:

BufferedReader in =new BufferedReader(read);

int p; double SI1,SI2,SI3,A3;

System.out.println(“Enter the principal”);

p=Integer.parseInt(in.readLine());

SI1=(p*5.0*1)/100.0;

System.out.println(“Interest for the first year =”+SI1);

SI2=((p+SI1)*5.0*1)/100.0;

System.out.println(“Interest for the second year =”+SI2);

SI3=((SI1+SI2+p)*5.0*1)/100;

A3=SI1+SI2+SI3+p;

System.out.println(“Amount after three years =”+A3);

}

}

Sample Input: 10000

Sample Output: Interest for the first year =500.0

Interest for the second year =525.0

Amount after three years =11576.25

Explanation:

please mark me as brain list please reply to this

Answered by XxPunjabDakudaxX
0

Answer:

do you know me??

Explanation:

i think not!

Similar questions