Write code to add two complex numbers( without using structures)??? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Write code to add two complex numbers( without using structures)???

https://code.sololearn.com/c8kLqTUPtjAp/?ref=app

30th Jul 2019, 8:29 PM
Govind Kumar
Govind Kumar - avatar
1 Answer
+ 2
or You could use the #include <complex> library if you’re using C++. http://www.cplusplus.com/reference/complex/ There are alternates to complex libraries in other languages too, but I don’t know about them so well.
30th Jul 2019, 9:51 PM
7Pineapple
7Pineapple - avatar