Given a temperature in celsius C. You have to convert it in Fahrenheit.
 
Example 1:
Input:
C = 32
Output:
89.60
Explanation:
For 32 degree C temperature 
in farenheit = 89.60
Example 2:
Input:
C = 25
Output:
77.00
Explanation:
For 25 degree C temperature 
in farenheit = 77.
Your Task:
You don't need to read input or print anything. Your task is to complete the function celciusToFahrenheit() which takes an integer C as input parameters and returns a float value, after converting it into Fahrenheit.
 
Expected Time Complexity: O(1)
Expected Space Complexity: O(1)
 
Constraints:
1 <= C <= 100000

Source: geeksforgeeks | Difficulty: EASY
Tags: Mathematics

Starter code: #User function Template for python3


class Solution:
    def celciusToFahrenheit (self, C):
        # code here

Solutions:
class Solution:

	def celciusToFahrenheit(self, C):
		f = float(C) * 9 / 5 + 32
		return f


class Solution:

	def celciusToFahrenheit(self, C):
		return C * 1.8 + 32


class Solution:

	def celciusToFahrenheit(self, C):
		return C * 9 / 5 + 32


class Solution:

	def celciusToFahrenheit(self, C):
		c = float(C * 9 / 5 + 32)
		return c


class Solution:

	def celciusToFahrenheit(self, c):
		return c * (9 / 5) + 32


class Solution:

	def celciusToFahrenheit(self, C):
		x = round(1.8 * C + 32, 2)
		return x


class Solution:

	def celciusToFahrenheit(self, C):
		ans = float(C * 1.8 + 32)
		ans = float('{:.2f}'.format(ans))
		return ans


class Solution:

	def celciusToFahrenheit(self, f):
		return f * 1.8 + 32


class Solution:

	def celciusToFahrenheit(self, C: int) -> float:
		return round(32 + C * 1.8, 2)


class Solution:

	def celciusToFahrenheit(self, C):
		p = 9 * C / 5
		f = p + 32
		return f


class Solution:

	def celciusToFahrenheit(self, C):
		f = C * 9 / 5.0 + 32.0
		return f


class Solution:

	def celciusToFahrenheit(self, C):
		return C * (9 / 5) + 32
if __name__ == '__main__':
	t = int(input())
	for _ in range(t):
		N = int(input())
		ob = Solution()
		print('%.2f' % ob.celciusToFahrenheit(N))


class Solution:

	def celciusToFahrenheit(self, C):
		return C * 1.8 + 32
if __name__ == '__main__':
	t = int(input())
	for _ in range(t):
		N = int(input())
		ob = Solution()
		print('%.2f' % ob.celciusToFahrenheit(N))


class Solution:

	def celciusToFahrenheit(self, c):
		far = c * 1.8 + 32
		return far