Exercise 4: Complex Numbers
Let's test your understanding of the Class Template by using it to define a class that returns the real and imaginary parts of a Complex number.
We'll cover the following...
Problem Statement
In this exercise, you are required to use Class templates to write template type class called Complex
. This class contains the following properties: