BETA
School Problem's Submission isn't counted in score!

Submissions: 1537 Accuracy:

54%

Simple Interest
     

Write a program to find the simple interest for given principal amount P, time T(in years) and rate R.

Input:
First line contains an integer, the number of test cases 'T'. Each test case should contain three values P,T,R.

Output:
Print the simple interest

Constraints:
1<=T<=100
1<=P<=1000
1<=T<=20
1<=R<=20


Example:

Input:
2
42
8
15
501
10
5


Output:
50
250

** For More Input/Output Examples Use 'Expected Output' option **

Set Default Code

					   
It is recommended to 'Compile & Test' your code before clicking 'Submit'!

Compilation/Execution Result:

Need help with your code? Please use ide.geeksforgeeks.org, generate link and share the link here.