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 Constant 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 Coins3.java from the textbook does. Add a comment to show when you modified the code, and what change you made. In this book, you use a special ConsoleReader class to read input from the keyboard. The ConsoleReader class is contained in a separate file, ConsoleReader.java .