online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include <stdio.h> #include <math.h> int main(void) { printf("Pierwszy sposób (operator %%):\n"); printf("8 mod 5 = %d\n", 8 % 5); printf("-8 mod 5 = %d\n", -8 % 5); printf("8 mod -5 = %d\n", 8 % -5); printf("-8 mod -5 = %d\n", -8 % -5); printf("Drugi sposób (funkcja remainder):\n"); printf("8 mod 5 = %0.f\n", remainder(8, 5)); printf("-8 mod 5 = %0.f\n", remainder(-8, 5)); printf("8 mod -5 = %0.f\n", remainder(8, -5)); printf("-8 mod -5 = %0.f\n", remainder(-8, -5)); 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