Wednesday 13 June 2012

BASIC ELEMENTS IN PROGRAMMING : Constants And Variable

5 Basic elements in programming.

  1. Constant.
  2. Variable.
  3. Data Type.
  4. Operators.
  5. Control Structures.
CONSTANTS AND VARIABLES

Constants
Constant is a data container that stores information. The value will never change (remains constant) at any time during the course of a program.
Declare is the official term used in programming to announce to the program the condition of statement in programming.

Variables
Variable is a data container that stores information. The value inside may change at any time during the course of a program.

THE DIFFERENCES BETWEEN CONSTANTS AND VARIABLE



0 comments:

Post a Comment