Originally Posted by
Adak
The constant data type modifier, just tells your compiler "this variable should never be changed by the program". It's optional, but good to use, although I frequently forget to use it, myself.
%4 in printf(), tells printf() that this variable number should be printed in a field that is 4 digits wide. The .3 tells printf() that this variable should have 3 digits printed, after the decimal point.
"lf" tells printf() that the data type here, is a double (think of it as a long float).
The joy and the curse of C (and programming in general), is that you have to keep practicing with it, or you'll forget it. If you only have a year or so of programming in C, and you step away from it for 3 years, you'll be *amazed* at all the things that you've forgotten. :(
You're welcome.