online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
# pragma warning(disable: 4996) // 컴파일러 κ²½κ³  λΉ„ν™œμ„±ν™”(scanf λ³΄μ•ˆ κ²½κ³  νšŒν”Ό) #include <stdio.h> int main(){ int score; // μ •μˆ˜ν˜• λ³€μˆ˜ score μ„ μ–Έ (점수) char grade; // λ¬Έμžν˜• λ³€μˆ˜ grade μ„ μ–Έ (학점) // μ‚¬μš©μžλ‘œλΆ€ν„° 점수 μž…λ ₯λ°›κΈ° printf("ν•™μƒμ˜ 점수λ₯Ό μž…λ ₯ν•˜μ„Έμš”: "); scanf("%d", &score); // μ€‘μ²©λœ μ‚Όν•­ μ—°μ‚°μžλ₯Ό μ‚¬μš©ν•˜μ—¬ 학점 νŒλ³„ grade = (score >= 90) ? 'A' : (score >=80) ? 'B' : (score >=70) ? 'C' : (score >=60) ? 'D' : 'F'; printf("학점: %C\n", grade); // 학점 좜λ ₯, %CλŠ” 문자 좜λ ₯ ν˜•μ‹ μ§€μ •μž 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