/// temperature from c
to f ///
#include
"stdafx.h"
#include
"iostream"
#include
"conio.h"
#include
"stdio.h"
using namespace std;
int _tmain(int argc,
_TCHAR* argv[])
{
float c,f;
cout<<"Enter temperature in centigrade";
cin>>c;
f=(9/5)*c+32;
cout<<"Entered centigrade
="<<f<<"fahrenheit";
getch();
}
0 comments :
Post a Comment