© Philip Joyce 2020
P. JoycePractical Numerical C Programminghttps://doi.org/10.1007/978-1-4842-6128-6_1

1. Review of C

Philip Joyce1 
(1)
Goostrey, UK
 

This chapter reviews the properties of the C programming language. Example programs are given to illustrate the different areas that C covers, for example, for, while, do-while loops, user-defined functions, switches, mathematical functions, file access, and so on.

The programs tend to bring together similar properties, for example, mathematical functions, and incorporate them as single programs. The reader can just use the part of these programs that they need for their program.

1.1 Arithmetic

This program starts with the basic process of asking the user to enter some data. Here, we will use the term ...

Get Practical Numerical C Programming: Finance, Engineering, and Physics Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.