0

structure complex number

My code is enter complex number's elements and print it in float. But there is some problem in my code. Could you help me with the code? https://code.sololearn.com/cchIxwhPVZq9/#c

29th May 2019, 11:50 AM
김도현
김도현 - avatar
1 Antwort
+ 4
Hi... U have to add '&' Symbol in front of variable name to store user inputs using scanf statement. Ex - scanf("%f", &Z.imag); Hope this helps...!!!
29th May 2019, 12:04 PM
Kuri
Kuri - avatar