BlueBook
Write a program that reads a real value and a positive integer and then calculates and prints the value of .
Input Specification
The first line of input will be the number of test cases, . Each of the test cases will have 2 numbers on each line.
Output Specification
All answers should be to 2 decimal places.
Sample Input
3
2.0 4
4.0 2
3.0 3
Sample Output
16.00
16.00
27.00
Comments