"IF"

The quadratic formula program outlined uses an "if-then-else" statement. "If," however, can be used alone or only with "then."

Using "if" alone tests one condition. If the statement is true, the TI will execute the command line directly following it. If the statement is false, the next command line is omitted.

Use "if-then" if you want to execute several command lines after if. "If" is always followed by a conditional statement, but "then" is on a command line alone.

Can you re-write the "QUADFORM" program using merely "If" or "If-Then" statements as opposed to the "If-Then-Else"?

RETURN to pgrmQUADFORM

RETURN to General Commands