USER'S CHOICE POST

Internet Download Manager free download for life time activated
Top 10 software you must have in your computer/laptop/tab with free download link

Earn upto Rs. 9,000 pm checking Emails. Join now! And get Rs. 99 Instantly!

ALL THE INFORMATION GIVEN IN THIS SITE IS ONLY FOR THE LEARNING PURPOSE. WE SHOULD ALWAYS USE THE GENUINE SOFTWARE! USE OF ANY INFORMATION GIVEN HERE IS SOLELY USERS' RESPONSIBILITY!


Sunday, 15 April 2012

CONVERT FAHRENHEIT TO CELSIUS TEMPERATURE:


CONVERT FAHRENHEIT TO CELSIUS TEMPERATURE:

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


OUTPUT:
Enter the temperature in Fahrenheit:: 104
The temperature in Celsius::40.00000

0 comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...


Try New Whatsapp+ latest for free with lots of new Emoticons :) , Latest Version
Download NOW