Coding:
/* Read input from STDIN. Print your output to STDOUT*/
import java.io.*;
import java.util.*;
public class MyCode {
public static void main(String args[] ) throws Exception {
//Write code here
Scanner input=new Scanner(System.in);
int b,c,i;
double a,si=0;
a=input.nextDouble();
b=input.nextInt();
c=input.nextInt();
si=(a*b*c)/100;
i=(int) si;
System.out.println("Interest Rate in Integer: " + i);
}
}
Output:
2000
5
2
Interest Rate in Integer: 200
No comments:
Post a Comment