Making Decisions

  • Ivor Horton
  • Peter Van Weert


Decision-making is fundamental to any kind of computer programming. It’s one of the things that differentiates a computer from a calculator. It means altering the sequence of execution depending on the result of a comparison. In this chapter, you’ll explore how to make choices and decisions. This will allow you to validate program input and write programs that can adapt their actions depending on the input data. Your programs will be able to handle problems where logic is fundamental to the solution.

Copyright information

© Ivor Horton and Peter Van Weert 2018

Authors and Affiliations

  • Ivor Horton
    • 1
  • Peter Van Weert
    • 2
  1. 1.Stratford-upon-AvonUK
  2. 2.Kessel-LoBelgium

Personalised recommendations