Computer Mathematics and the Graphing Calculator

For example, a program that would print the letter grade when given the arithmetic mean would evaluate the condition for every grade possibility every time, even if the first condition had been true. The series of If statements can be modified to achieve the same efficiency as the traditional case statements by using the Goto and Lbl commands. ................
................