Computer Science, asked by nausin008, 1 year ago

Write a BASIC Program to READ Principal, Time and
Simple Interest and display the Rate.​

Answers

Answered by SyedFarhanAshraf
0

Explanation:

import java.util.*;

class interest

{

public static void main()

{

Scanner sc =new Scanner(System.in);

int p;int r; int t; doulble SI;

p=sc.nextInt();

r=sc.nextInt();

t=sc.nextInt();

SI=(p*r*t)/100;

System.out.println("Interest="+SI);

}

}

Similar questions