CJCoding With Joseph

Count Passing Students

An array of five struct Student values holds the scores 55, 60, 72, 40, and 90. Count how many students have a score of 60 or higher (a passing score) and print that count:

3

Only 60, 72, and 90 pass. Loop through the array and compare each score. There is no trailing newline.

Expected Output:

3
Topics:
Structs
Code Editor
1
Tab to indent ยท Ctrl+Enter to run ยท Ctrl+Space to expand shortcuts (p, fori)

Your Output

Run your code to see the output here...

Test Cases

Run your code to see test case results.