answersLogoWhite

0


Best Answer

this is nested if statement

cls

input"enter percent age of marks:" ,x

if x>=50 and x>=100 then

print"first division"

elseif x>=50 and x< 60 then

print"second division"

elseif x>=33 and x<50 then

print"third division"

else

print"fail"

endif

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How can we find percentage's in QBASIC?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

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 download QBasic?

In order to Download Qbasic you may do one, both or none of these two things: 1.) Go to "http://www.softpedia.com/get/Programming/Coding-languages-Compilers/Qbasic.shtml" and click download or 2.) use "Google.com" with the keywords Qbasic free download to find another website with a free qbasic downlaod.


What extension would a file saved in Qbasic have?

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


How to find bell curve percentages?

There are infinitely many bell curves and you need to have the distribution parameters to find percentages.


Where do you find percentages?

We find percentages in shops like on clothes if the item is having a sale and is 10%percent off or in food it has a certain percentage in it.


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

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


Why are rem statements important in qbasic programming?

qbasic is important because its technology


Where would you give percentages in everyday life?

you would find percentages in cooking sale prices grades


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


How to determine percentage of cotton and wool in cotswool?

The percentages vary. To find the percentages for a particular fabric, read the label.


How do you find the percentages with money?

Same as without money.


What is the shortcut key for input statement in QBasic?

There is no shortcut key of input in qbasic