Q: What are constants and how are they are different from variables?

Write your answer...

Submit

Still have questions?

Continue Learning about Math & Arithmetic

Constants are fixed numbers that never change, they always stay the same. Variables are number that can change, they 'Vary'.

ask your father

variables, coefficents, and constants

In Computer Programming and Mathematics, variables and constants are ways to refering to a value. For example X=1 and Y=2 The difference being, variables are meant to be arbitary and changable, while constants are meant to be fixed and unchangable. For example, there is no reason for the value of Pi to change. So the value of Pi would best be represented by a constant.

Constants are numerical values which are fixed but which may or may not be known. Variables are also numerical but may take a range of values. If a variable appears in an equation or inequality), it may be possible to solve the equation to ascertain the value of the variable.

Related questions

Constants are fixed numbers that never change, they always stay the same. Variables are number that can change, they 'Vary'.

Constants stays the same independent variables is the variable that is being manipulated

Constants are values that remain constant and cannot be changed once they are assigned a value. Variables, on the other hand, can have different values assigned to them and their value can be changed throughout the program. Constants provide a fixed value, while variables provide flexibility and allow for changes in value.

There are several possibilities. They can be called arguments and there are two kinds, variables and constants. Variables can have different values and constants are always the same.

explain loop structrunes

Variables, Literals, and Named constants.

The ones called constants.

ask your father

to store values

Constants stays the same independent variables is the variable that is being manipulated

Literals are constants.

They are called constants. easy as that!:)>