Celsius to Fahrenheit Conversion
Submissions: 2495   Accuracy:

51.4%

  Difficulty: Basic   Marks: 1

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


If you have purchased any course from GeeksforGeeks then please ask your doubt on course discussion forum. You will get quick replies from GFG Moderators there.



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

to report an issue on this page.