Python program to input temperature in Celsius and convert it into Fahrenheit.


Program:

C=int(input("Enter the temperature in Celsius : "))

F=1.8*C+32

print("Temperature in Fahrenheit = ", F)


Output:

Enter the temperature in Celsius : 5

Temperature in Fahrenheit =41

Program to input temperature in Celsius and convert it into Fahrenheit Video




44 views0 comments

Recent Posts

See All

The mathematical formula to find the sum of 1²+2²+3²+….+n² is n(n+1)(2n+1)/6 So to find the sum of series we use this formula. Program: n = int(input("Enter Positive Number : ")) sum = 0 sum= (n*(n+