Simple Interest
Easy 20 XPBasics
Read principal P, yearly rate R (percent) and time T (years), one per line. Print the simple interest P × R × T / 100 with exactly 2 decimal places.
- Input
- Three lines: P, R, T (numbers, may be decimal).
- Output
- Simple interest with 2 decimal places.
Sample 1
Input
10000 8 2
Output
1600.00
Read input with input() (no prompt message) and print only the answer. Run tries the Input box; Submit checks all test cases.
Output Loading Python (first time takes a few seconds)
Press Run to see the result here.The solution unlocks after 3 submissions.