Menu Close

Calculate the amount of interest earned in the bank.

Mallaiah has deposited an amount in the bank.  After some period of time, he wanted to know the interest he is earning on the amount.   So he went to the bank and got to know about the rate of the interest.

Now he would like to calculate the amount he earned with interest. Can you help Mallaiah?
Functional Description:
Interest = ( Amount * Rate * Time ) / 100

Input Format:
The First line of the input is a deposited amount
The Second line of the input is a rate of interest
The Third line of the input is a time duration

Output Format:
Print the output in a single line with 4 values after decimal point.
#include <stdio.h>
int main()
{
float amount,rate,time,si;
scanf("%f\n%f\n%f",&amount,&rate,&time);
si=(amount*rate*time)/100;
printf("%.4f",si);
	return 0;
}

INPUT_1:
45506.98
5.5
2.0

OUTPUT:
5005.7676


INPUT_2:
98786.12
7.3
4.5

OUTPUT:
32451.2402



Morae Q!