Create three variable which stores three different integers.
Compare these three integers to find the largest one.
12 is the largest.
Integer a = 12; Integer b = 11; Integer c = 10; if(a>b && a>c){ System.debug(a + ' is the largest'); } else if (b>a && b>c){ System.debug(b + ' is the largest'); } else { System.debug(c + ' is the largest'); }