Celsius to Fahrenheit Conversion
Submissions: 1773   Accuracy:

54.66%

  Difficulty: School   Marks: 0
*School Problem's Submission isn't counted in score!
     

Given a temperature in celsius C. The task is to convert and print in farenheit.

Note: We need to print the floor value of the result.

Input:
The first line of input contains T, denoting number of testcases. Each testcase contains single integer  C denoting the temperature in celsius.

Output:
For each testcase in a new line, output the temperature in farenheit.

Constraints:
1 <= T <= 103
1 <= C <= 104

Example:
Input:
1
32

Output:
89

Explanation:
Testcase 1:
For 32 degree C temperature in farenheit = 89.

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

Author: dipjal1996


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

to report an issue on this page.