author | Christian Urban <urbanc@in.tum.de> |
Fri, 10 May 2019 11:56:37 +0100 | |
changeset 318 | 43e070803c1c |
parent 45 | 7545b1bc1514 |
permissions | -rw-r--r-- |
45 | 1 |
var FirstNum = 0; |
2 |
var SecondNum = 0; |
|
3 |
||
4 |
print "enter first number"; |
|
5 |
read FirstNum; |
|
6 |
||
7 |
print "enter second number"; |
|
8 |
read SecondNum; |
|
9 |
||
10 |
if FirstNum > SecondNum then |
|
11 |
if FirstNum > 9 then |
|
12 |
print "First Number is greater then 9"; |
|
13 |
else |
|
14 |
print "First Number is less then 9"; |
|
15 |
endif; |
|
16 |
print "first number is GREATER than second number"; |
|
17 |
else |
|
18 |
print "first number is LESS than second number"; |
|
19 |
endif; |
|
20 |
||
21 |
var z = 0; |
|
22 |
print "enter any number to continue"; |
|
23 |
read z; |