what are variables and constant
Answers
Answered by
0
A constant is a value that cannot be altered by the program during normal execution, i.e., the value isconstant. ... This is contrasted with a variable, which is an identifier with a value that can be changed during normal execution, i.e., the value is variable.
Answered by
3
Answer:
A quantity which has no fixed value but takes no various numerical values is called a variable. For example: ... (iii) In 3x, 3 is constant and x is variable but together 3x is a variable. (iv) If 3 is a constant and x is a variable, then 3 + x, 3 - x, 3/x, 3x, x/3, etc., are also variables.
Similar questions