Function f(Chinese as integer,Math as integer,English as intger,Other1 as integer,Other2 as integer) as boolean
dim sum as integer
sum=Chinese+Math+English+Other1+Other2
if (sum>450) then
f=True
exit function
end if
if(Chinese>85 and Math>85 and English >85 and Other1 >85 and Other2 >85) then
f=True
exit function
end if
if(Chinese >90 and Math >90 and English >90 and Other1>80 and Other2>80) then
f=True
exit function
end if
f=False
End Function