i = 0
DO 10 times
i = i + 1
<<Prompt for number>>
<<Read and store number entered as number_i>>
end DO
i = 0; j = 0
DO 10 times
i = i + 1
IF number_i > 50 THEN j = j + 1
end DO
Display["Count of numbers exceeding 50 is: ", j]
1. Create a program which will allow the user enter ten numbers. The program is to count how many numbers were above 50. Hint: You will need to incorporate a Selection (If…then) statement.
1 answer