online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
/****************************************************************************** Genesis Ojeda Programa de promedio de notas (base) *******************************************************************************/ #include <stdio.h> int main() { int grade; printf("Enter the grade obtained in the class: "); scanf("%d", &grade); if (grade >= 0 && grade <= 100) { if (grade >= 90) { printf("Your grade is A with %d\n", grade); } else if (grade >= 80 && grade <= 89) { printf("Your grade is B with %d\n", grade); } else if (grade >= 70 && grade <= 79) { printf("Your grade is C with %d\n", grade); } else if (grade >= 60 && grade <= 69) { printf("Your grade is D with %d\n", grade); } else { printf("Your grade is F with %d, you need to study more\n", grade); } } else { printf("Please enter a valid grade between 0-100\n"); } 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