C_U1p4.c

#include <stdio.h> #include <conio.h> void main() { float celsius, fahrenheit; clrscr(); printf("Enter temperature in Fahrenheit: "); scanf("%f", &fahrenheit); celsius = (fahrenheit - 32) * 5 / 9; printf("Fahrenheit to Celsius %f",celsius); getch(); }

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.