Added if statement w/ document.write & console.log

if(grade >= minAGrade)