Saturday, 23 June 2012

how to convert celcius into fahranheit in c++


how to convert celcius into fahranheit in c++

How to convert celcius into fahranheit in c++:
This the source code to convert celcius into fahranheit
#include<iostream.h>
#include<conio.h>
 main()
{
     float f,c;
     cout<<"enter the value of the centigrate:";
     cin>>c;
     f=9/5.0*c+32;
     cout<<c<<"celcius="<<f<<"fahranhite";
     system("pause");
      }
End

3 comments: