Im nw to programing and was having trouble to make the following code work:
It gives the following output:Code:#include<stdio.h> #include<math.h> int main() { double final_Z,re,im; re=0.0; im=0.0; re=re+1.0; im=im+5.0; printf("%d \n %d \n",re,im); }
0
1072693248
I expect the output:
1
5
whats wrong help !!