Search:

Type: Posts; User: hk_mp5kpdw

Search: Search took 0.06 seconds.

  1. scanf("%f\n", &z1.real); Get rid of all those \n...

    scanf("%f\n", &z1.real);
    Get rid of all those \n parts, they don't belong.
  2. A return statement can only return a single...

    A return statement can only return a single value, a complex number is represented by two values. In order to return a complex number as a single value, you would need to wrap up the two components...
Results 1 to 2 of 2