Main | Registration | Login | RSSThursday, 2024-04-18, 10:27 PM

PiEcE oF InFoRmAtIoNs

Site menu
Search
Statistics

Total online: 1
Guests: 1
Users: 0

Variable Declaration


We have to declare all variables and constants, before we can use them. When we declare a variable, we specify its data type. 

For example, to declare a variable with data type integer, float, and character, we simply write: 

int sum; 
float area;
char letter;

or we can group similar data type variables in one list such as:

int n1, n2, sum, diff;
float area, fah, celsius, divided;
char letter, symbol, initial;

Login form
Calendar
«  April 2024  »
SuMoTuWeThFrSa
 123456
78910111213
14151617181920
21222324252627
282930
Site friends
CLICK BELOW THE SITE YOU WANT TO GO:

Create your own site

YAHOO Mail

FACEBOOK

GOOGLE

FRIENDSTER

Our poll
Rate my site
Total of answers: 40

Copyright MyCorp © 2024
Make a free website with uCoz