author | Fahad Ausaf <fahad.ausaf@kcl.ac.uk> |
Wed, 12 Nov 2014 12:24:26 +0000 | |
changeset 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; |