/**
 * Write a function that takes in a real and imaginary number as arguments and returns a string representation of the complex number in the form 'a + bi', where 'a' is the real part and 'b' is the imaginary part.
 *
 * @param real The real part of the complex number.
 * @param imaginary The imaginary part of the complex number.
 * @return The string representation of the complex number.
 *
 * Examples:
 * complexToString(3, 2) -> "3 + 2i"
 * complexToString(-2, 5) -> "-2 + 5i"
 * complexToString(0, -4) -> "0 - 4i"
 */
fun complexToString(real: Number, imaginary: Number): String {

    return "$real + $imaginary" + "i"
}
/**
 * Write a function that takes in a real and imaginary number as arguments and returns a string representation of the complex number in the form 'a + bi', where 'a' is the real part and 'b' is the imaginary part.
 *
 * @param real The real part of the complex number.
 * @param imaginary The imaginary part of the complex number.
 * @return The string representation of the complex number.
 *
 * Examples:
 * complexToString(3, 2) -> "3 + 2i"
 * complexToString(-2, 5) -> "-2 + 5i"
 * complexToString(0, -4) -> "0 - 4i"
 */
fun complexToString(real: Number, imaginary: Number): String {
/**
 * Write a function that takes in a real and imaginary number as arguments and returns a string representation of the complex number in the form 'a + bi', where 'a' is the real part and 'b' is the imaginary part.
 *
 * @param real The real part of the complex number.
 * @param imaginary The imaginary part of the complex number.
 * @return The string representation of the complex number.
 *
 * Examples:
 * complexToString(3, 2) -> "3 + 2i"
 * complexToString(-2, 5) -> "-2 + 5i"
 * complexToString(0, -4) -> "0 - 4i"
 */
fun complexToString(real: Number, imaginary: Number): String {

    return "$real + $imaginary" + "i"
}