Variable in any programming language when we start
programming then first thing which we start with is variable. This chapter will
give full knowledge of variable’s operation .So let’s start learning process
with constant.
Constant
A constant is a value that newer get change. Like value of g
(gravitational force) is 9.8, value
of PI is 3.14 or your date of birth. Examples of different type of constant are
follows
Integer
Integer is numbers that exclude decimal part. For Example if
I ask to you that how many siblings you have. Your reply will always be in
integer without decimal part.
123,123.45,5