create a class called Complex for perfoeming arithmetic with complex numbers. complex numbers have the form: RealPart + imaginaryPart +1
where 1 is sqrt of (-1)
Printable View
create a class called Complex for perfoeming arithmetic with complex numbers. complex numbers have the form: RealPart + imaginaryPart +1
where 1 is sqrt of (-1)
What have you tried?
(By the way, if you did not have to create the class yourself, you would likely just #include <complex> and use std::complex.)