anakryshtof anakryshtof
  • 25-02-2021
  • Computers and Technology
contestada

why are constants used in programs?

Respuesta :

16zwhittingham
16zwhittingham 16zwhittingham
  • 25-02-2021

Answer:

Constants are useful for defining values that are used many times within a function or program.  

Answer Link
naphtllynice123
naphtllynice123 naphtllynice123
  • 25-02-2021
By using constants, programmers can modify multiple instances of a value at one time. For example, changing the value assigned to max in the example above will modify the value wherever max is referenced.
Answer Link

Otras preguntas

Which event in history is seen by many people as the beginning of the Great Depression in the United States?
Health is as much a social as a biological concern. Analyze whether or not healthcare is equally accessible to people belonging to all strata of American societ
Now I need a medium riddle.
the geographic isolation of two population of species tends to increase differences between their gene pools because it _.
Help me on this math problem please :,(
Please answer this question only if you know it!
What was the significance of the mayflower compact?
PLEASE HURRY! I'll mark the first person who answers as brainliest! Between which two consecutive integers does the square root of 53 lie? A. 5 and 6 B. 6 and 7
**WILL MARK BRAINLIEST AND THANK YOU** Solve the equation f(x)=g(x) by graphing the functions f(x)=3^x+1 and g(x)=4 on the same set of coordinate axes. Which st
Example 1: Solve the following system of equations by graphing.x+y=2x-y=4​