online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
// // Conversion - Program to convert temperature from // Celsius degrees into Fahrenheit: // Farhrenheit = Celsius * (212 - 32)/100 + 32 // // #include <cstdio> #include <cstdlib> #include <iostream> using namespace std; int main(int nNumberofArgs, chars* pszArgs[]) { // enter the temperature in Celcius int celsius; cout << "Enter the temperature in Celcius:"; cin >> celcius; // calculate conversion factor for Celsius //to Fahrenheit int factor; factor = 212 - 32; //use conversion factor to convert Celsius //into Fahrenheit values int factor; fahrenheit = factor * celsius/100 + 32; //output the results (followed by a NewLine) cout << "Fahrenheit value is:"; cout << fahrenheit << endl; //wait until user is ready before terminating program //to allow the user to see the pragram results cout << "Press Enter to continue..." <<endl; cin.ignore(10, '\n'); cin.get(); return 0; }

Compiling Program...

Command line arguments:
Standard Input: Interactive Console Text
×

                

                

Program is not being debugged. Click "Debug" button to start program in debug mode.

#FunctionFile:Line
VariableValue
RegisterValue
ExpressionValue