Medium
Simple Interest
Read principal P, yearly rate R (in percent) and years T. Print the simple interest P × R × T / 100 with 2 decimals, then the total amount P + interest with 2 decimals.
Input
Three numbers on separate lines.
Output
Two lines.
Sample 1
Input
1000 5 2
Output
100.00 1100.00
Sample 2
Input
50000 7.5 3
Output
11250.00 61250.00
Output appears here