difference between variable and constant?
Answers
Answered by
7
Variable:-
Variables are those quantities whose values are not definite or we can say its changeable.
ex:- x = 1, 2, 9...
Constants:-
Constants are those physical quantities whose values are definite.
ex:- 10, 12, e
ashmita122:
lag
Answered by
7
hello
variables means: , a variable is a value that can change, depending on conditions or on information passed to the program. Typically, a program consists of instruction s that tell the computer what to do and data that the program uses when it is running.
constant means : a constant is a number that is fixed and known, unlike a variable which changes with the context.
Similar questions