


















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



















Chapter 4
Variables and Data Types
Example:
MAIN PROGRAM
Global Variables
Subroutine
Local Variable
x number1 a123 number_2 _xyz
print main space not allowed 123number name should not begin with number main reserved word
Explain these mathematical problems by using variables.
area = 3.142 * r * r
5.34 -1.0 1.3E4 "string"