Hello, I am having trouble writing the pseudocode for the following question. Any advice as to what I may be missing or doing wrong would be greatly appreciated.
Question:
Plan the logic for a program that contains two modules. The first module prompts the user for a grade on an exam. Pass the grade to a second module that prints "Pass" if the grade is 60 percent or higher and "Fail" if it is not.
My pseudocode:
start
num grade
print “Enter exam percentage:”
get grade
gradePercent (grade)
print grade
stop
num gradePercent(grade)
if gradePercent < 60 then
print “Fail”
else
print”Pass”
return gradePercent