learn_code_with_me();

Sunday, May 19, 2013

C Program to Convert Celcius to Fahrenheit

by Anouar 0 comments

Tag


Share this post:

Convert Fahrenheit to Celsius.
#include <stdio.h>

int main () {
	float fa,ce;
	printf(" Enter the Temperature in Fhrenheit: \n");
	scanf("%f",&fa);
	ce= 5.0/9.0*(fa-32);
	printf("\n Temperature in Celsius=%f",ce);
return 0;
}
output:
Enter the Temperature in Fhrenheit: 99 
Temperature in Celsius=37.22

Comments 0 comments

Anouar Rahil
A newbie programmer, Blogger, Net Surfing.
anouar.r@live.com

Subscribe feeds via e-mail
Subscribe in your preferred RSS reader

Subscribe feeds rss Recent Entries

Advertise on this site Sponsored links

Categories

Popular Posts

My Photos on flick r

Subscribe feeds rss Recent Comments

Technorati

Technorati
My authority on technorati
Add this blog to your faves