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 outcome; char grades; printf("κ²°κ³Ό 점수λ₯Ό μž…λ ₯ν•˜μ„Έμš”(0~100):"); //μ μˆ˜μž…λ ₯ scanf("%d",&outcome); // μ‚¬μš©μžλ‘œλΆ€ν„° μ •μˆ˜κ°’μ„ μž…λ ₯λ°›μ•„ outcome λ³€μˆ˜μ— μ €μž₯ if(outcome >= 90){ //μ μˆ˜μ— 따라 학점을 κ²°μ •ν•˜λŠ” 닀쀑 if ~elseλ¬Έ 적용용 grades = 'A'; } else if(outcome >=80){ grades = 'B'; } else if(outcome >=70){ grades = 'C'; } else if(outcome >=60){ grades = 'D'; } else{ grades = 'F'; }printf("학점은:%c\n",grades); //λ³€μˆ˜ grades에 μ €μž₯된 문자λ₯Ό 좜λ ₯ 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