Numerical Literal in Code (NLC)

Description:

It is suggested to replace literal numbers with symbolic constants. The exceptions are -1, 0, and 1 which are allowed to be hard-coded.

Example:

double potentalEnergy(double mass, double height) {
    return mass * 9.81 * height;
}