You can use a defined constant anywhere in your program without assigning it a value.
Added by Alicia R.
Step 1
For example: ```javascript const PI = 3.14159; ``` Show more…
Show all steps
Your feedback will help us improve your experience
Adi S and 101 other AP CS educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
A local linear approximation to a non constant function can never be constant.
Adi S.
Example of constant in programming
Donna D.
$$ \text { a constant function } $$
Graphs and Functions
Linear Functions
Recommended Textbooks
Computer Science and Information Technology
Introduction to Programming Using Python
Computer Science - An Overview
Transcript
18,000,000+
Students on Numerade
Trusted by students at 8,000+ universities
Watch the video solution with this free unlock.
EMAIL
PASSWORD