...

/

Complex Class with >> and << Operators

Complex Class with >> and << Operators

Understand how to implement >> and << operators for a Complex class.

We'll cover the following...

Problem

Write a program that implements a Complex class. It should contain << and >> overloaded functions to receive or display Complex objects.

Sample run

...