Algorithm


1. Start

2. Input:
   a. Prompt the user to enter the temperature in Celsius (let's call it 'Celsius').

3. Conversion:
   a. Use the formula: Fahrenheit = (Celsius * 9/5) + 32.

4. Output:
   a. Display the converted temperature in Fahrenheit.

5. End

Code Examples

#1 Example- Convert Celsius To Fahrenheit

Code - Python Programming

# Python Program to convert temperature in celsius to fahrenheit

# change this value for a different result
celsius = 37.5

# calculate fahrenheit
fahrenheit = (celsius * 1.8) + 32
print('%0.1f degree Celsius is equal to %0.1f degree Fahrenheit' %(celsius,fahrenheit))
Copy The Code & Try With Live Editor

Output

x
+
cmd
37.5 degree Celsius is equal to 99.5 degree Fahrenheit
Advertisements

Demonstration


Python Programing Example to Convert Celsius To Fahrenheit-DevsEnv