online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
using System; class HelloPositiveNumber { static void Main() { for (int x=1; x<=5; x++) { Console.WriteLine(ReturnPositiveNumber(x)); Console.WriteLine(ReturnPositiveNumber(-x)); // lub x * -1 } } public static int ReturnPositiveNumber(int number) { return (number >> 31 | 1) * number; } }

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