about | help | code help+videos | done | prefs |
Write a method that accepts two strings that represent complex numbers. Return a string that represents the sum of those two complex numbers. Note that the complex numbers will be written in the form "a+bi" or "a-bi" where a and b are integers. addComplex("5+6i", "7-3i") → "12+3i" addComplex("-5-3i", "-2-7i") → "-7-10i" addComplex("8+4i", "-8-4i") → "0+0i" ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 440
Copyright Nick Parlante 2017 - privacy