← Back to Loops
Question 364
Count Above The Limit
Count Above The Limit
A list of six grades is declared in the starter. Read a limit and count, with a for loop, how many grades are strictly above it, then print Above: <count>. Input: one integer, the limit, no prompt. A second input value proves that the loop and not the list decides the count.
Expected Output:
Above: 4= newline. The output ends with a newline — print one after the last line.
Hints3 available
Sign in to use hintsTopics:
Loops
1
Tab to indent (Esc then Tab to move on) · Ctrl+Enter to run · Ctrl+Space to expand shortcuts (pr, inp, def)
Your Output
Run your code to see the output here...
Test Cases
Run your code to see test case results.