Prog:2 Write a program to convert temp
from celcious into ferenhit.
#include<iostream.h>
#include<conio.h>
void main()
{
clrscr();
float f,c;
cout<<"enter celcious
:";
cin>>c;
f=((9*c)/5)+32;
cout<<"The ferenhit is:"<<f;
getch();
}
Output:
Enter celcious :200
The ferenhit is:392
No comments:
Post a Comment