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: Share on X (Opens in new window) X Share on Facebook (Opens in new window) Facebook Print (Opens in new window) Print Email a link to a friend (Opens in new window) Email Share on LinkedIn (Opens in new window) LinkedIn Share on Reddit (Opens in new window) Reddit Share on Tumblr (Opens in new window) Tumblr Share on Pinterest (Opens in new window) Pinterest Share on Pocket (Opens in new window) Pocket Share on Telegram (Opens in new window) Telegram Share on WhatsApp (Opens in new window) WhatsApp Like Loading...