School Accuracy: 31.33% Submissions: 5041 Points: 0
Today your task is simple. You have to calculate area of circle and rectangle depending upon user's choice.
Input: First line of the input contains an integer T which denotes the number of test cases. Then T test cases follow. Each test case contains two lines. First line contain 1 for circle or 2 for rectangle.Second line contains integers R(radius) or L(length) and B(Breadth)(space separated).
For each test case, print area of circle or rectangle.