online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include <stdio.h> // 표준 입출력 함수 int main(){ // 프로그램 시작, main 함수 정의 int i, j; // 외부 반복문 제어 변수 i, 내부 반복문 제어 변수 j 선언 for (i = 0; i <= 4; i++){ // 출력될 패턴의 행수를 결정하는 외부 for문, 총 5줄 for (j = 0; j < 4 - i; j++){ // 각 행마다 (4 - i)개의 공백 출력, 피라미드 형태 가운데 정렬 printf(" "); // 공백 출력 } for (j = 0; j < i * 2 + 1; j++){ // 각 행마다 (2 * i + 1)개의 별 출력 // 홀수 개로 늘어나며 피라미드 모양 생성 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