Take the final working C program from exercise 0 and start transforming it into C++. Try to use as much as possible of the things you learned in the lesson "From C to C++".
Additional hints
Solution: sol1.cpp (*) Discussion of solution (*) Discussion of solution (*)
Discussion of solution (*) Discussion of solution (*)