Respuesta :
Explanation:
Following are the pseudocode of the program.
Step 1: Start.
Step 2: Input the First and Second.
Step 3: Check condition, if the First is greater than the Second.
Step 4: Then, print 'First is larger'.
Step 5: Check condition, if the Second is larger than the First.
Step 6: Then, print 'Second is larger'
Step 7: Otherwise, set else.
Step 8: Then, print " Numbers are equal"
Step 9: End if.
Step 10: Stop.
In this exercise we have to use the knowledge of pseudocode to write the messages:
See more in the image atteched
What is pseudocode for?
Pseudocode is a generic way of writing an algorithm, using a simple language (native to whoever writes it, so that it can be understood by anyone) without the need to know the syntax of any programming language.
The code will be:
If student's grade is greater than or equal to 60
Print "passed"
else
Print "failed"
Set grade counter to one
Input the next grade
Add the grade into the total
Set the class average to the total divided by ten
Print the class average.
Initialize total to zero
Initialize counter to zero
Input the first grade
add this grade into the running total
add one to the grade counter
if the counter is not equal to zero
set the average to the total divided by the counter
print the average
else
print 'no grades were entered'
initialize passes to zero
initialize failures to zero
initialize student to one
input the next exam result
if the student passed
add one to passes
else
add one to failures
add one to student counter
print the number of passes
print the number of failures
print "raise tuition"
See more about pseudocode at brainly.com/question/497311
