Archive for the ‘CODE’ Category

Program for Conversion of Celsius to Fahrenheit

August 29, 2010

//degree Celsius to degree Fahrenheit
#include<stdio.h>
#include<conio.h>
void main()
{
float c,p;
clrscr();
printf(“\nCelsius”);
scanf(“%f”,&c);
p=(c*9/5)+32;
printf(“\nFahrenheit=%f”,p);
getch();
}

Hope you liked my posts, give comments if you have any doubts…:)

(more…)