Computer Science, asked by khanreyaz848, 8 months ago

write a program in java to find and print the simple interest and amount. given , principal = Rs.5000,rate=4%, time = 4 years ?​

Answers

Answered by kanika2733
0

Answer:

8 explanation is below

Explanation:

4+4 ok

Answered by Tweetz
1

class SI

{

void display()

{

int p=5000, r=4, t=4;

double si=p*r*t/100;

System.out.println("The Simple Interest is ="+si);

int amt=p+si;

System.out.println("The Amount is ="+amt);

}

}

Explanation:

Hope it helps

Similar questions