data num1 type char10.
data num2 type char10.data num3 type char10.
num1 = 10.
num2 = 20.
num3 = 15.
if num1 > num2.
write:/ 'largest number is : ',num1.
elseif num2 > num3.
write:/ 'largest number is : ',num2.
else.
write:/ 'largest number is : ',num3.
endif.
0 Comments