online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include <stdio.h> int x_to_the_n (int x,int n) { int i; int number = 1; for (i = 0; i < n; ++i) number *= x; return(number); } int main() { char heading[100] = "INTEGER SQUARE 3RD POWER 4TH POWER 5TH POWER"; printf("%s\n", heading); for(int i = 1; i < 5; i++) { for(int j = 1; j < 6; j++) { printf("%d\t\t", x_to_the_n(i,j)); } printf("\n"); } 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