online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
// Ride height program using System; class Program { // ------------------------- // Subprograms // ------------------------- static bool valid_height(double height) { if (height > 104) { return true; } else { return false; } } // ------------------------- // Main program // ------------------------- static void Main() { Console.Write("Enter the height of the person in cm: "); double height = Convert.ToDouble(Console.ReadLine()); if (valid_height(height)) { Console.WriteLine("Height OK."); } else { Console.WriteLine("Sorry, you are too small."); } } }

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