Your professor wants an application that allows a student to enter two grades and calculate the average of those grades. The application should display the message "Pass" if the average of the grades is 70 or greater. The application should display the message "Fail if the average of the grades is less than 70. Write the pseudocode for the solution to this problem.
What will be an ideal response?
1. Store grade 1 and grade 2 in variables.
2. Average = (grade 1 + grade 2) / 2
3. If the average is 70 or greater
display "Pass" message
Else
Display "Fail" message
End if
You might also like to view...
Which of the following String methods does not modify the original String?
a) Method Replace b) Method ToUpper c) Method ToLower d) All of the above
Class Array’s ________ method is used to create a Stream from an array of objects.
a. stream b. arrayToStream c. createStream d. objectToStream
b. How are events synchronization and data representation handled during a session of face-to-face conversation, such as when you speak to someone seated next to you?
Consider inter-human communications.
Drawing guides help you align objects on a slide.
Answer the following statement true (T) or false (F)