online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include <stdio.h> int main(void) { int n; printf("Enter the odd number only"); scanf("%d", &n); for(int i=1;i<=n;i++) { if(i==((n/2)+1)) { for(int j=1;j<=n;j++) { printf("+"); } } else { for(int j=1;j<=n/2;j++) { printf(" "); } printf("+"); } 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