Advertisement

Functions and Branching

  • Hans Petter LangtangenEmail author
Chapter
Part of the Texts in Computational Science and Engineering book series (TCSE, volume 6)

Abstract

This chapter introduces two fundamental and extremely useful concepts in programming: user-defined functions and branching of program flow, the latter often referred to as if tests. The programs associated with the chapter are found in the folder src/funcif.

Copyright information

© Springer-Verlag Berlin Heidelberg 2016

Authors and Affiliations

  1. 1.Simula Research LaboratoryFornebuNorway
  2. 2.Department of InformaticsUniversity of OsloOsloNorway

Personalised recommendations