I have a problem. I need to insert a specific char (number sign) into my output value. I am not allowed to use if statement and "? :" statement. My output needs to look like this:
9999.999(+/-)i9999.999
Where character "i" needs to go right after the 2nd number sign. Here is my code so far:
void show(struct z z) {
printf("%.3fi%.3f", z.re, z.im);
}