Computer Science, asked by gauridevi01234, 5 months ago

write a qbasic program to find out the maximum number from two given number​

Answers

Answered by Anonymous
1

CLS

CLSINPUT "Enter two number"; a, b

CLSINPUT "Enter two number"; a, bIF a > b THEN

CLSINPUT "Enter two number"; a, bIF a > b THENPRINT a; "is greatest number"

CLSINPUT "Enter two number"; a, bIF a > b THENPRINT a; "is greatest number"PRINT b; "is lowest number"

CLSINPUT "Enter two number"; a, bIF a > b THENPRINT a; "is greatest number"PRINT b; "is lowest number"ELSE

CLSINPUT "Enter two number"; a, bIF a > b THENPRINT a; "is greatest number"PRINT b; "is lowest number"ELSEPRINT b; "is greatest number"

CLSINPUT "Enter two number"; a, bIF a > b THENPRINT a; "is greatest number"PRINT b; "is lowest number"ELSEPRINT b; "is greatest number"PRINT a; "is lowest number"

CLSINPUT "Enter two number"; a, bIF a > b THENPRINT a; "is greatest number"PRINT b; "is lowest number"ELSEPRINT b; "is greatest number"PRINT a; "is lowest number"END IF

CLSINPUT "Enter two number"; a, bIF a > b THENPRINT a; "is greatest number"PRINT b; "is lowest number"ELSEPRINT b; "is greatest number"PRINT a; "is lowest number"END IFEND

Similar questions