INT minus thirty five = -35
1
1.0
5.0
0
5
6
-6
13.5
4.5
5
-45.0
-61
20
INT
1
INT
1.25
REAL
1
INT
17.0
REAL
PROGRAM ex2 6 CONTEXT VOID USE standard BEGIN print(-7 MOD 3); print( 7 MOD -3); print(-7 MOD -3) END FINISHThis will display
+2 +1 +2on your screen.
REAL two pi = 2 * pi
4
INT
3.25
REAL
12
INT
-3
INT
-9
REAL
2.0
REAL
1.5
5
2
345
32
"1"
8
0.0
print
phrase
displays
$0.0000000000000000$(16 zeros) and the second displays
+infinity
.
ROUND
has not been
declared to use an operand with mode CHAR
.
ENTIER
has
not been declared for use with an operand with mode INT
.
Sian Mountbatten 2012-01-19