WAP to find smallest number among given two number
CLS
INPUT"ENTER ANY NUMBER";N
INPUT"ENTER ANY NUMBER";M
IF N < M THEN
PRINT"THE SMALLEST NUMBER IS";N
ELSE
PRINT"THE SMALLEST NUMBER IS";M
END IF
END
INPUT"ENTER ANY NUMBER";N
INPUT"ENTER ANY NUMBER";M
IF N < M THEN
PRINT"THE SMALLEST NUMBER IS";N
ELSE
PRINT"THE SMALLEST NUMBER IS";M
END IF
END
Comments
Post a Comment