O'Reilly logo

Programming the TI-83 Plus/TI-84 Plus by Christopher R. Mitchell

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 3. Conditionals and Boolean logic

 

This chapter covers
  • Representing rules and facts in a program
  • How programs can make decisions
  • Running code conditionally based on comparisons

 

Although you may have never thought about it before, almost every computer program you’ve used in your life reacts and makes decisions. Any program you run will execute different sections of code depending on what you type and click, what your files contain, and even what files on other computers contain. Calculator programs are no different, and most programs you’ll want to write will need to have rules and the ability to make decisions. You’ve already seen a quadratic equation solver, QUAD, that displayed a warning about imaginary roots only if it determined ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required