online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include <stdio.h> // 표준 입출력 함수 int main(void){ // 프로그램 시작, main 함수 정의 int dan = 2; // 단수, 2단을 출력하기 위해 변수 dan을 2로 초기화 int num = 1; // 곱해지는 수, 1로 초기화 while( num <=18){ // while 반복문, num이 18 이하일 동안 반복 실행 printf(" %d X %d = %d \n", dan, num, dan * num); // 구구단 2단 출력: "2 X num = 결과" 형식으로 출력 num++; // num 값을 1 증가시켜 다음 반복 준비 } 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