Best Answer

Give your numbers the names 'A' and 'B', and use these program lines.

Whichever of the two numbers is greater will be printed.

G = A

If B > A THEN G = B.

PRINT "The greater number is "; G

User Avatar

Wiki User

โˆ™ 2010-12-30 00:06:34
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you find the greater number in qbasic?
Write your answer...
Related questions

What is the extension of a QBasic file?

the extensions of qbasic are that, there are only 80 pixels to write in the qbasic

How do you write a qbasic program to find area and circumerence of a circle?

Write a program that calculates the area of a triangle in QBASIC

Is there a Qbasic compiler that works on Windows 3.1?

The original version of QBASIC had a built-in compiler (which worked anywhere, anytime), but this functionality was removed in the 'newer' version for some odd reason. QBasic version 4.5 (also known as QuickBasic) can compile, and I believe that QBasic version 7.1x (very difficult to find) is capable of compiling also.

How do you find the smallest prime number greater the 200?

The smallest prime number greater than 200 is 211.

The greater of two numbers is 7 more than the lesser Three times the greater number is 5 more than 4 times the lesser number Find the numbers?

The greater of two numbers is 7 more than the lesser Three times the greater number is 5 more than 4 times the lesser number Find the numbers?

The gcf of an odd number and an even number is 33 the greater number is 99 find the other number?


How you could use a number line to determine which of two numbers is greater?

On a number line, the numbers start with zero and get larger as they move to the right, They are negative and get smaller as they move to the left from the zero. To find which number is greater, you can find the places of two numbers on the line and the one on the right is greater.

Why are rem statements important in qbasic programming?

qbasic is important because its technology

What is the default screen mode of Qbasic?

The default screen mode for Qbasic is 0.

How do you download QBasic?

In order to Download Qbasic you may do one, both or none of these two things: 1.) Go to "" and click download or 2.) use "" with the keywords Qbasic free download to find another website with a free qbasic downlaod.

How do you print kamal kama kam ka k this pattern in qbasic?


A die is tossed. Find the odds against rolling a number greater than 1.?

The probability of rolling a number greater than 1 is 5/6.

How do you find out which number is greater 0.620 or 0.62?

0.620 equivalent to 0.62?

How do you find the product of five numbers in Qbasic?

Most computer languages use the asterisk, "*", for multiplication.

Which is greater 0.07 or 0.040?

Compare one digit at a time, from left to right, until you find a digit that is different. The number with the greater digit in this position is the larger number.

How do you find out what number is greater without comparison?

i am no math genius but all u do depending on the number is count

What are the variables of Qbasic?

variables are numbers or letters used to represent a numerical or string constant in qbasic

What are comparing integers?

comparing integers are when you have two numbers, and you need to find out how to get the greater number. Ex: -3 > < -4. You have to see which number is the bigger number, and then put a greater than or less than sign. so the answer would be: -3 because you have to find the number that is closest to zero on the number line.

Find a prime number greater than 3 that is a factor of 30?


Find a number whose double is 45 greater than its half?


How do you find first number is 5 time greater the second?

just add the 5 to each number and compare the succeding number

Who created the QBASIC Programming Language?

QBASIC was developed by Microsoft. It succeeded GW BASIC and was based on QuickBASIC.

Who discovered Qbasic?

QBASIC (Quick Beginners All Purpose Symbolic Instruction Code) was developed by Microsoft.

What is the shortcut key for input statement in QBasic?

There is no shortcut key of input in qbasic

Why is QBasic called QuickBasic?

Qbasic and Quickbasic are not the same! Qbasic was a free interpreter that Microsoft included with MS-DOS. Although Quickbasic uses similar syntax as quickbasic it allows programs to be compiled.

Study guides

Create a Study Guide