What is a constant?

What will be an ideal response?


Constants do not change value as the program runs. They are written into the program code itself. For example, this statement assigns the value of the constant 127.89 to the variable $num:

$num = 127.89

Trades & Technology

You might also like to view...

The ____ is a lever that transfers power from the piston to the crankshaft.

a. cam shaft b. control rod c. connecting rod d. wrist pin

Trades & Technology

The process of pricing an estimate can be divided into four stages.

Answer the following statement true (T) or false (F)

Trades & Technology

You can use the Del or ____________________ keys to delete individual characters in Emacs.

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

Trades & Technology

Which of these statements about a standard micrometer is TRUE?

A. The thimble is divided into 50 equal divisions. B. A complete turn of the thimble moves the spindle through 0.050 inches. C. 20 complete rotations of the thimble moves the spindle 0.500 inch. D. It should be stored with the spindle locked firmly against the anvil.

Trades & Technology