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