I am doing a piece of coding for my university coursework in C++. I've been working on this one piece of code for at least 4 hours now and i'm stumped. Ive tried searching online but every piece of C++ information is either to complex or too simple.
When I run this code, no matter what number I input it tells me that the number represents an A grade. I just have no idea what is missing or needs to be removed in this code
int main() {
int grade;
printf("What Is the test score (Between 0 and 100)? ");
scanf("%d");