1if(one>two)
2 {
3 var a = one;
4 }
5 else
6 {
7 var a = two;
8 }
9
10if(three>four)
11 {
12 var b = three;
13 }
14 else
15 {
16 var b = four;
17 }
18
19if(a>b)
20 {
21 alert("The greatest number is " + a)
22 }
23else if(b>a)
24 {
25 alert("The greatest number is " + b)
26 }
27}