#include<iostream.h>
#include<conio.h>
void main()
{
clrscr();
int choice;
float temp,conv;
cout<<"celsius to fahrenheit"<<"\n";
cout<<"enter temp. in celsius";
cin>>temp;
conv=(1.8*temp)+32;
cout<<conv;
getch();
}
link : Convert Temperature fahrenheit to celsius
#include<conio.h>
void main()
{
clrscr();
int choice;
float temp,conv;
cout<<"celsius to fahrenheit"<<"\n";
cout<<"enter temp. in celsius";
cin>>temp;
conv=(1.8*temp)+32;
cout<<conv;
getch();
}
link : Convert Temperature fahrenheit to celsius
No comments:
Post a Comment