SELF TEST
1. Write a Pascal statement which sums the two integer variables digit and value into the variable total
total := digit + value;2. Write a Pascal statement which subtracts the value 10 from the variable loop, leaving the result in the variable sum
sum := loop - 10;3. Write a Pascal statement to display the value of the integer variable total
writeln( total );4. Write a Pascal statement to read in a character value into the variable letter
readln( letter );5. Write a Pascal statement to display the value of the real variable small_value using a field width of three places
writeln( small_value:3 );