Discuss five rules that apply to constant variables.

What will be an ideal response?

1. The declaration of a constant variable begins with the letters Const, not the letters Dim.2. You must assign the value to be contained in the constant on the same line as the definition of the constant.3. You cannot attempt to change the value in the constant anywhere in the program. If you do, it will produce a compiler error.4. The letter c often is placed before the prefix of the constant variable name to identify throughout the program that it is a constant variable and cannot be changed.5. Other than the letter c, constant variable names are forced using the same rules and techniques as nonconstant names.

Computer Science & Information Technology

You might also like to view...

The ________ startup type is started by the logged on user or by a program only when it is needed

Fill in the blank(s) with correct word

Computer Science & Information Technology

A _________ is a form of virus that creates copies during replication that are functionally equivalent but have distinctly different bit patterns, in order to defeat programs that scan for viruses.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology