Write a program to find the compund interest for given principal amount P , time T(in years), compounds N times in a year at rate R. Calculate floor of future value of given principal amount.
First line contains an integer, the number of test cases 'T'. Each test case should contain three values P, T, N, R.
Print the future value for given principal after calculating Compund Interest.
Note: Print only floor of the future value. For example, if future value is 134.891, then output should be 134.
1215 //instead of 1215.51