Other Content

Table Of Contents
2. Insert the Prgm...EndPrgm template.
From the Functions&Programs menu, select Prgm...EndPrgm.
3. Insert the If...Then...Else...EndIf template.
From the Functions&Programs menu, select Control, and then select
If...Then...Else...EndIf.
4. Type the remaining parts of the function, using the arrow keys to move the
cursor from line to line. Use the Symbol Palette to select the "“symbol.
5. Press Enter to complete the definition.
6. Execute prog1(3,-7)to test the program.
Calculator Application 155