Answer to Question #236633 in Algorithms for Emmanuel Kwarfo

Question #236633
Describe what is a variable and how it is used in a program.
1
Expert's answer
2021-09-14T18:05:18-0400

A variable is a placeholder that can take any allowed value. For example, we design a heat sensor that measures the temperature in the bathroom and turns on alarm when the temperature is below a certain limit. The temperature here is an independent variable, a quantity that may change and defines what signal the sensor will output. The magnitude of the signal here is a dependent variable.


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS