We use the example of solving a quadratic equation to introduce the concept of round-off error and how to avoid it. We also introduce simple arithmetic expressions, logical expressions, and the conditional if...else statement.
if...else
quadratic.cc