structure complex number | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
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 Resposta
+ 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