I have to write a pseudocode program to read the two sample files, calculate and print the final mark for each subject, as well as the average final mark per student.
Document the code well using comments.
The final mark is calculated as 25% of the year mark, 25% of the prac mark and 50% of the exam mark.
Assume the records of the two files are arranged in Student number (S-no) sequence. Note that some students have more subjects than others….
I was tasked with the above program and im not sure how to express this in pseudo code.
It is difficult to write Pseudo-code in comments, as using comments we can draw/write flow charts, but I can give it a try.
Here are the steps, which may help you to create some Pseudo-code
That's it, this is not pseudocode but it may help you to create pseudocode, here are example of it
http://www.unf.edu/~broggio/cop2221/2221pseu.htm
That's it.
Subscribe to our weekly Newsletter & Keep getting latest article/questions in your inbox weekly