Ask Question
11 December, 16:11

Assume that a program uses the named constant PI to represent the value 3.14. The program uses the named constant in several statements. What is the advantage of using the named constant instead of the actual value 3.14 in each statement?

+1
Answers (1)
  1. 11 December, 19:36
    0
    The advantage for the above condition is as follows:-

    Explanation:

    If a user creates a defined constant variable and assigns a value on its and then uses that variable instead of the value, then it will a great advantage. It is because when there is a needs to change the value of that variable, then it can be done when the user changes the value in one place. There is no needs to change the vale in multiple places. But if there is a value in multiple places instead of a variable and there is no constant variable, then the user needs to change the value in multiple places.
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Assume that a program uses the named constant PI to represent the value 3.14. The program uses the named constant in several statements. ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers