Jane wants to become a doctor. If Jane obtains an average of 90% for
Maths in her final exams, she will be admitted to the qualification, however,
if she obtains an average of more than 85% but less than 90% for Maths
and an overall average of 90% for all her subjects she will still be able to
study medicine but will have to complete a BSc degree first.
Write the pseudocode that will accurately reflect the logic
contained in the above scenario.
math
overall
if math >= 90 then
//admitted to the qualification
else if math > 85 && overall >= 90 then
// BSc degree first
Comments
Leave a comment