Posts

Showing posts from May 21, 2013

Fahrenheit to Celsius (ºF to ºC)

Image
Answer: Source Code #include<stdio.h> main() { float farenheit,celsius; printf("Enter the temp of city in Farenheit:"); scanf("%f", &farenheit); celsius = (5.0/9.0) * (farenheit-32); printf("Temperature in Celsius: %f",celsius); }