Chapter 3 : type changing
At the beginning, a and b are int. But finally, due to the use of pow (x, y) and in order to enhance the calculator, a and b become double. Just a little problem: why do they also become const ? They were not const at the beginning.
I have read the whole man pages of scanf, printf, and pow, and even looked at math.h, stdio.h and stdlib.h. I feel a little stupid and I really hope to get an explanation.
FJ
__________________
FJ
|