Program to Verify Student is Passed or Failed in Examination

@0,6 say "Finding Examination Result of a Student"
? ""
Input "Enter Total Marks obtained in English = " to e 
Input "Enter Total Marks obtained in Hindi = " to h 
Input "Enter Total Marks obtained in Science = " to s 
Input "Enter Total Marks obtained in Maths = " to m 
Input "Enter Total Marks obtained in Social Science = " to ss
t= e + h + s + m + ss
p = (t / 500) * 100
? "Total Percentage obtained = ", p
? ""
? "Total Marks obtained = ", t
? ""
If  t >= 300
? "Result = Pass"
Endif
If t < 300
? "Result = Fail"
Endif