Skip to main content

Making Decisions

  • Chapter
  • First Online:
Beginning C

Abstract

In this chapter, you’ll greatly extend the range of programs you can write and the flexibility you can build into them by adding one of the most powerful programming tools to your inventory: the ability to compare the values of expressions and, based on the outcome, choose to execute one set of statements or another. This means that you will be able to control the sequence in which statements are executed.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 59.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2020 German Gonzalez-Morris and Ivor Horton

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Gonzalez-Morris, G., Horton, I. (2020). Making Decisions. In: Beginning C. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-5976-4_3

Download citation

Publish with us

Policies and ethics