For some simple cases, using single letters like i, j, k is enough, but as programs grow larger this becomes less informative. Give definitions for each of the constant descriptions listed below const definition Description Number of days in a week Number of weeks in a year Minimum wage per hour P1. Comments Even carefully named variables are rarely sufficient to fully convey the operation of a program. They do not, for example, provide an explanation of a future feature that could be implemented because of how something is done now, or leave a detailed description of how a variable is computed. You can however place any additional information necessary in a comment.
Comments are plain text for humans to read.
From both design and documentation perspectives, it is a good idea to get in the habit of commenting your code as early as possible. For example, provide a brief description of what the program coins.cpp from Section 2.2 does. Add a comment to show when you modified the code, and what change you made. Items in the input stream are separated by white space - spaces, tabs and newlines. Because a variable of any given type represents a fixed amount of space in memory, there is a limit to how large a value it can store.