Variable Test
 

1. Declare an integer called sum

2. Declare a character called letter

3. Declare a variable called money which can be used to hold currency

4. Declare a variable called arctan which will hold scientific notation values (+e)

5. Declare an integer variable called total and initialise it to zero.

6. Declare a variable called loop, which can hold any integer value.



Answers

 

1. Declare an integer called sum

sum : integer;


2. Declare a character called letter

letter : char;


3. Declare a variable called money which can be used to hold currency

money : real;


4. Declare an integer variable called total and initialise it to zero

total : integer;
total := 0;


5. Declare a variable called loop, which can hold any integer value

loop : integer;

(c) Shilpa Sayura Foundation 2006-2017