online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
<?php /****************************************************************************** Welcome to GDB Online. GDB online is an online compiler and debugger tool for C, C++, Python, Java, PHP, Ruby, Perl, C#, OCaml, VB, Swift, Pascal, Fortran, Haskell, Objective-C, Assembly, HTML, CSS, JS, SQLite, Prolog. Code, Compile, Run and Debug online from anywhere in world. *******************************************************************************/ function task17($n){ if ($n % 5 == 0 && $n % 3 == 0) { return 'Делится и на 5 и на 3'; }elseif ($n % 5 == 0){ return 'Делится на 5'; }elseif ($n % 3 == 0) { return 'Делится на 3'; }else return strval($n); } for ($i=1; $i <= 17; $i++) { echo task17($i)."\r\n";; }

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