When i ran that simple program i got:
0.000000 2.000000
Type: Posts; User: ashleyd
When i ran that simple program i got:
0.000000 2.000000
Given:
main.c
/**************************************/
/* main.c */
/* DO NOT MODIFY THIS FILE */
/**************************************/
#include...
I replaced the %d's with %lf's, and now for the output function errors i am getting:
Output Function Errors:
expected: 1 + 2i
actual: 1.000000 + 2.000000i
expected: 1 + 2i
actual: 1.000000 +...
I am working on a function for my project that formats the output of complex(imaginary) numbers, but when I run it, its not being formatted as i thought it would be.
the struct being used is:
...