Permitted C++ Features for Lab 5
For this lab, you must:
Define functions that take parameter(s),
Use the functions that you define,
Produce a clearly structured program that deserves to work.
You may:
Use any of the built-in C++ or library functions,
Introduce named constants,
Accept interactive user input with read_int() etc.,
Define functions that produce a value (not just void),
Use the "return" statement.
Use the "if - else" construct.
Use the "while" construct.
Use the "break" statement.
Other features of C++ are absolutely out of bounds, especially no variables, no assignment,
no loops.