Convert tempature from celsius to fahrenheit
This is a C program to convert temperature from Celsius to Fahrenheit.
You can compile this program on bOtskOOl Free Online C/C++ Compiler
SOURCE CODE
//A C example to convert temp from celsius to fahrenheit
/*
**********************
www.botskool.com
**********************
*/
#include<stdio.h>
#include<conio.h>
void main()
{float cel,fah;
clrscr();
printf("Enter the Temperature in Celsius : ");
scanf("%f",&cel);
fah=cel*1.8+32;
printf("\n%f øC = %f øF",cel,fah) ;
getch();
}
/*
**********************
www.botskool.com
**********************
*/
Output of the example:

Terms of Agreement:
By using this code, you agree to the following terms-
1) You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
2) You MAY NOT redistribute this code (for example to a web site) without written permission from us. Failure to do so is a violation of copyright laws.
3) You may link to this code from another website, but ONLY if it is not wrapped in a frame.
4) You will abide by any additional copyright restrictions which may have placed in the code or code's description.
>>Kindly post your doubts and suggestions on our discussion forum.




Recent comments
11 weeks 10 hours ago
1 year 8 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 12 weeks ago
1 year 13 weeks ago
1 year 14 weeks ago
1 year 14 weeks ago
1 year 18 weeks ago
1 year 18 weeks ago