online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#pragma warning(disable:4996) #include <stdio.h> int main(){ int score; char grade; //사용자로부터 점수 입력받기 printf("학생의 점수를 입력하세요:"); scanf("%d",&score); //중첩된 삼항 연산자를 사용하여 학점 판별 grade = (score >= 90) ? 'A' : (score >= 80) ? 'B': (score >= 70) ? 'C': (score >= 60) ? 'D':'F'; //다 한줄로 입력하는 걸 보기 좋게 enter침 , 첫번재 : 를 기준으로 참 나머지는 all 거짓, 판별 printf("학점:%c\n",grade); 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