This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: Input exam Display “Enter quiz average: “ Input quiz Display “Enter lab average: “ Input lab CalculateGrade(lab1, quiz, lab, score, grade) Set score = ( lab1 + lab2 + lab3 + midterm + final)/5 If (score >= 90) then grade = “A” else if (score >= 80) then grade = “B” else if (score >= 70) then grade = “C” else if (score >= 60) then grade = “D” Else Grade = “F”...
View Full Document
This note was uploaded on 06/18/2011 for the course CIS 115 taught by Professor Ramiro during the Spring '11 term at DeVry Addison.
- Spring '11