Requires Windows, Mac, or Linux
////Conversion - Program to convert temperature// Celsius to Fahrenheit//#include <cstdio>#include <cstdlib>#include <iostream>using namespace std;int main(int nNumberofArgs, char* pszArgs[]){ //enter the temp in Celsius int celsius; cout << "Enter the temperature in Celcius:"; cin >> celsius; //calculate the conversion factor for Celsius // to Fahrenheit int factor; factor = 212 - 32; // use conversion factor to convert C to F values int fahrenheit; fahrenheit = factor * celsius/100 + 32; // output results cout << "Fahrenheit value is... "; cout << fahrenheit << endl; //wait until user is ready before terminating program to allow user to see output results system("PAUSE"); return 0;
wow nue went from 13 to 18? wtheck
Some people go to college when they are 14 or 13. Seriously, it happens.
Quote from: deoxy99 on February 09, 2011, 04:54:23 PMSome people go to college when they are 14 or 13. Seriously, it happens.Or under. It also happens backward.and...cool awesome story bro.
But it still happens.