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 Answer
+ 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