Language
C++
Compiler
gcc 9.2.0
Options
Warnings
Boost 1.72.0
C++17
-pedantic-errors
$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.72.0/gcc-9.2.0/include -std=c++17 -pedantic-errors
x + y = 10 + (10) * i
x - y = 2 + (-2) * i
x * y = 0 + (52) * i
x / y = 0.923077 + (-0.384615) * i
Exit Code:
0