Recent content by GustavoGG

  1. GustavoGG

    Why my code sometimes prints trash and other times not?

    Thanks it worked perfectly. I did not know what you just explained but its clear and now I get it
  2. GustavoGG

    Why my code sometimes prints trash and other times not?

    #include<stdio.h> #include<math.h> #include<complex.h> int main(){ float complex a,b,x=2,y,z; printf("Write the real part followed by the imaginary part of your complex number: \n"); scanf("%f %f",&a,&b); z=a+I*b; printf("z= %f + i%f\n",creal(z),cimag(z)); y=cpow(z,x)...
Back
Top