Answer:
calculateCountGreaterThan100()
{
declare variable count with zero
while True
{
input numeric values from user
if user inputted value > 100
increment the count
if user inputted value == -1
break the loop
}
print the value of count
}
Explanation:
First of all, let us have a look at the meaning of a pseudocode:
A pseudocode is nothing but a informative way of expressing our code in simple plain English.
It is not written in programming language so it does not have any syntax rules.
Here, we are asked to write pseudocode algorithm for inputting numeric scores and output the number how many of them are greater than 100. The end of numbers is signalled by a user input of -1.
The answer is:
calculateCountGreaterThan100()
{
declare variable count with zero
while True
{
input numeric values from user
if user inputted value > 100
increment the count
if user inputted value == -1
break the loop
}
print the value of count
}
Here, we have declared a variable with initial count as 0.
Then, in a loop we are taking input from user in which user is giving integer input.
If the value is greater then zero, the count is incremented.
If the value is -1, we come out of the loop and then print the count value.