Monday, December 10, 2007

How to convert Celsius to Fahrenheit

How to convert Celsius to Fahrenheit

To convert Celsius to Fahrenheit

#include

main ()

{

float fahreheit;

int celsius;

cout<<" Please enter Celsius : " ;

cin>> celsius;

cout<< " The farrehheit is = "<<1.8*celsius+32;

}

Result :


No comments: