online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
# A boolean is a variable that can be True or False inClass = True # They can be also evaluated through logical operators numStudents = 10 isSmallClass = numStudents < 25 print("isSmallClass = " + str(isSmallClass)) # Because numStudents is less than 25, the print statement returns the value True isSame = (numStudents == 100) print("isSame = " + str(isSame)) # The equality operator "=="" checks to see if two variables have the same value # Since numStudents is NOT equal to 100, the printout is false # The operators available are # <, <=, >, >=, ==, AND, OR, NOT # Try to evaluate your own boolean variable using one of the operators above, and print to the terminal

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