title: How to read a complex number from keyboard ? I mean I cannot use scanf or get (in C)
body: <p>I declare <code>z3</code> as a complex number and I want the user to enter, but I don't know how to read the real and the imaginary part and save it in <code>z3</code>. I think I can use neither scanf nor get. Here is the code.</p>
  
  <pre><code>void main(void)
  {
      float complex z1= 1.0 + 3.0 * I;
      float complex z2= 1.0 - 4.0 * I;
      float complex z3;
  
      float complex sum= z1 + z2;
  
      printf("\nLa suma Z1+Z2 = %.2f %+.2fi\n",crealf(sum),cimagf(sum));
  
      printf("\nIngrese la parte real de Z3... ");
      ///??????? 
      printf("\nIngrese la parte imaginaria de Z3... ");
      ///???????
      //How can I read and saved a complex number?
  }
  </code></pre>