Assume a user runs a program containing the following code segment, and enters ‘k’ at the prompt. What is the output?
const char KINDERGARTEN_CODE = 'K';char gradeLevel;cout << "Enter child's grade level ";cin >> gradeLevel;if(gradeLevel == KINDERGARTEN_CODE) cout << "Kindergarten student" << endl;else cout << "Older student" << endl;
a. Kindergarten student
b. Older student
c. both of these
d. none of these
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.