harman15hkp942es harman15hkp942es
  • 22-05-2018
  • Computers and Technology
contestada

Named constants should be used when they serve to improve readability and understanding. T or F

Respuesta :

cdw2014
cdw2014 cdw2014
  • 22-05-2018
The answer is true.

Let's say we are calculating the volume of a grain silo where the the width is a constant, but the height can be changed.

In our code we would calculate the volume using something like:

PI * (WIDTH / 2)^2 * height

The variables in all caps would be named constants. Using them makes the code more readable to other people than if we were to just use their values like:

3.14 * (145.75 / 2)^2 * height




Answer Link
josie17340
josie17340 josie17340
  • 22-05-2018
It's true. T for true
Answer Link

Otras preguntas

The circle below represents one whole what percent is represented by the shaded area
Pleaseeee helpppp !!!!!!!! Will mark Brianliest !!!!!!!!!!!!!
Help Me Please. and I will help you
someone please do this it’s due tomorrow!
The management of Helberg Corporation is considering a project that would require an investment of $203,000 and would last for 6 years. The annual net operating
Question 8 (4 points) Find the values of x and y if NO = x + 2y, MO = 3x, PQ = 6x + 4, and OQ = 2y + 4.
Shards of metal are examples of what type of contamination
PLease help i will give brainliest
Chang Industries has 1,300 defective units of product that already cost $48 each to produce. A salvage company will purchase the defective units as is for $22 e
A number divided by –4 is –13.