Grade Needed














var q1=prompt("What is your quarter 1 Grade?");

var q2=prompt("What is your quarter 2 Grade");
var num1=parseInt(q1)
var num2=parseInt(q2)

var gradeWant=prompt("What grade do you want A, B, C or D?"); {
    if (gradeWant=== "A"){
        console.log(num1 + num2 + 90);
        }
    else if(gradeWant=== "B"){
        console.log(num1 + num2 + 80);
        }
    else if(gradeWant=== "C"){
        console.log(num1 + num2 + 70);
        }
    else {
        console.log("You suck!!!");
        }
   
    }