Variables and expressions

Martin McBride, 2017-01-31
Tags none
Categories none

A computer program often involves doing mathematical calculations. In maths we use variables such as x and y to represent numerical values. We also use mathematical expressions such as

x + y + 3

to represent calculations.

We use a similar idea in programming, although there are some slight differences as you will see.

Copyright (c) Axlesoft Ltd 2021