June 4, 2022June 9, 2025 Md. Anisur Rahman C Programming Lab Manual C Programming Lab Manual – 12 Write a C program to Convert Temperature Celsius to Fahrenheit. ALgorithm Function Main Declare Real celsius Declare Real fahrenheit Output "Enter temperature in Celsius: " Input celsius Assign fahrenheit = (celsius * 9 / 5) + 32 Output "Fahernheit is : " &fahrenheit End Flow Chart C Programming code #include <stdio.h> int main() { float celsius, fahrenheit; printf("Enter temperature in Celsius: "); scanf("%f", &celsius); //celsius to fahrenheit conversion formula fahrenheit = (celsius * 9 / 5) + 32; printf("Fahrenheit is: %f", fahrenheit); return 0; } output Enter temperature in Celsius: 10 Fahrenheit is : 50 Share this: Click to share on X (Opens in new window) X Click to share on Facebook (Opens in new window) Facebook Click to print (Opens in new window) Print Click to email a link to a friend (Opens in new window) Email Click to share on LinkedIn (Opens in new window) LinkedIn Click to share on Reddit (Opens in new window) Reddit Click to share on Tumblr (Opens in new window) Tumblr Click to share on Pinterest (Opens in new window) Pinterest Click to share on Pocket (Opens in new window) Pocket Click to share on Telegram (Opens in new window) Telegram Click to share on WhatsApp (Opens in new window) WhatsApp Like Loading...