Complex numbers

Report a typo

Here's an idea. How about writing a calculator that manipulates complex numbers?

Where to start? Write a class named Complex. It must have two Double properties named real and image. The properties must be assignable and their default value must be zero.

Write a program in Kotlin
// write the class Complex here
___

Create a free account to access the full topic