Write a structured algorithm that prompts the user to input the pass mark and the mark

a student received in a test. Output the word 'Fail' or 'Pass' accordingly.