Write a program that reads a temperature in Celsius (°C) and shows its equivalent in Fahrenheit (°F).
Use the following formula:
F = C * 1.8 + 32
where C is a temperature in Celsius and F is the corresponding temperature in Fahrenheit.
Write a program that reads a temperature in Celsius (°C) and shows its equivalent in Fahrenheit (°F).
Use the following formula:
F = C * 1.8 + 32
where C is a temperature in Celsius and F is the corresponding temperature in Fahrenheit.
Sample Input 1:
32.9Sample Output 1:
91.22Sample Input 2:
0Sample Output 2:
32.0Create a free account to access the full topic