<html>
<script type=”text/javascript”>
grade = parseFloat(prompt(“Enter Score”,””));
if (grade < 60) {
alert(‘You failed! Time to hit the books.’);
}
if (grade>89)
{
alert(‘You got an A’);
}
if ((grade > 79) && (grade<90))
{
alert(‘You got a B’);
}
</script>
</html>