BETA
This is a school problem. Successful submissions of this are not counted in user ratings.

Submissions : 1309 Accuracy :

53.25

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 Examples Use Expected Output**


Set Default Code

					   
Result:
It is recommended to test your code before clicking 'Submit' button!



                   



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