Ask Question

What is Pseudo-code? Write a Pseudo-code to determine a student's final grade and indicate whether it is passing or failing. The final grade is calculated as the average of five marks. (Passing criteria is Grade >=50)

+5
Answers (1)
  1. 6 June, 16:12
    0
    Pseudo-code is a method of outlining/designing a program before actually using the programming language to code it. Again, Pseudo-code is not the actual programming language but it can include keywords from the language itself along with general words to describe what the particular purpose of that code is for. For example, the Pseudo code for this example would be: 1.) Collect Students grades with I/O operation (either from file or from user) 2.) Get average of students grades, average is Students grades divided by 5. 3.) Use comparative operators in your language to check if average is greater than or equal to 50. 4.) Display Students passing/failing status with I/O operation. 5.) End program or repeat for next user.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “What is Pseudo-code? Write a Pseudo-code to determine a student's final grade and indicate whether it is passing or failing. The final ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers