SOURCE CODE:
#include<stdio.h>
#include<conio.h>
void main()
{
float c,f;
clrscr();
printf("Enter temperature in celsius :");
scanf("%f",&c);
f=(1.8)*c+32;
printf("Temperature in fehrenheit is : %f",f);
getch();
}
#include<stdio.h>
#include<conio.h>
void main()
{
float c,f;
clrscr();
printf("Enter temperature in celsius :");
scanf("%f",&c);
f=(1.8)*c+32;
printf("Temperature in fehrenheit is : %f",f);
getch();
}
No comments :
Post a Comment