Code :
REPORT ZVP_DEMO.
PARAMETERS : NUM1 TYPE CHAR10,
NUM2 TYPE CHAR10,
NUM3 TYPE CHAR10.
DATA: OUTPUT TYPE CHAR10.
IF NUM1 > NUM2.
OUTPUT = NUM1.
WRITE :/ 'LARGEST NUMBER IS : ',OUTPUT.
ELSEIF NUM2 > NUM3.
OUTPUT = NUM2.
WRITE :/ 'LARGEST NUMBER IS : ',OUTPUT.
ELSE.
OUTPUT = NUM3.
WRITE :/ 'LARGEST NUMBER IS : ',OUTPUT.
ENDIF.
Output :
LARGEST NUMBERS : 8
IDE Used To Test This Code : SAP Login 730
Try this code in your computer for better understanding. Enjoy the code. If you have any Question you can contact us or mail us.We will reply you as soon as possible.
REPORT ZVP_DEMO.
PARAMETERS : NUM1 TYPE CHAR10,
NUM2 TYPE CHAR10,
NUM3 TYPE CHAR10.
DATA: OUTPUT TYPE CHAR10.
IF NUM1 > NUM2.
OUTPUT = NUM1.
WRITE :/ 'LARGEST NUMBER IS : ',OUTPUT.
ELSEIF NUM2 > NUM3.
OUTPUT = NUM2.
WRITE :/ 'LARGEST NUMBER IS : ',OUTPUT.
ELSE.
OUTPUT = NUM3.
WRITE :/ 'LARGEST NUMBER IS : ',OUTPUT.
ENDIF.
Output :
LARGEST NUMBERS : 8
IDE Used To Test This Code : SAP Login 730
Try this code in your computer for better understanding. Enjoy the code. If you have any Question you can contact us or mail us.We will reply you as soon as possible.
Post a Comment