online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include <stdio.h> int main(void) { // 정수형 변수 total에 89 저장 (총점) int total = 89; // 부동소수점형 변수 average에 95.2f 저장 (평균) float average = 95.2f; // 총점과 평균을 각각 출력 printf("총점: %d\n", total); // %d → total의 정수값 printf("평균: %.2f\n", average); // %.2f → average를 소수점 둘째 자리까지 // 한 줄에 총점과 평균을 함께 출력 printf("총점: %d, 평균: %.2f\n", total, average); 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