We programe to convert the temperature celcius to fernehite
CODES:
- #include<stdio.h>
- #include<conio.h>
- void main ( )
- {
- Float Tf,Tc;
- Clrscr( );
- Printf("enter the temperature in celsius");
- Scanf("%f",&Tc);
- Tf=Tc*1.8+32;
- Printf("temperature in fernehite is =%f",Tf);
- getch( );
- }
INPUT:
enter the temperature in celsius = 100
OUTPUT:
Temperature in fernehite is = 212
Author name :
Sagar Kumar
Nice
ReplyDelete