online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include <stdio.h> int main(void) { int score; int grade; //사용자로 부터 점수 입력받기 printf("학생의 점수를 입력하세요: "); scanf("%d", &score); //중첩된 삼항 연산자를 사용하여 학점 판별 grade = (score >= 90) ? 'A' : (score >= 80) ? 'B' : (score >= 70) ? 'C' : (score >= 60) ? 'D' : 'F'; printf("학점: %c\n", grade); a += 10 + 20; // a = a + (10+20) a = 10 * 20 / 40 % (10+20); // + (++a) 넣는거 비추천 a = 10 * num[0] ; // num[0] 부터 계산 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