Challenge: Subtract Two Complex Numbers

Problem statement

Your task is to subtract two complex numbers.

What is a complex number?

A complex number is a number with both real and imaginary parts.

In the figure below, x + yi is a complex number.

Get hands-on with 1400+ tech skills courses.