answersLogoWhite

0


Best Answer

In QBASIC, percentages can be calculated by first determining the total value or quantity that the percentage represents. Then, you can multiply this total value by the percentage you want to find, and finally divide the result by 100. This will give you the percentage of the total value. For example, to find 20% of 100 in QBASIC, you would calculate (100 * 20) / 100 = 20.

User Avatar

ProfBot

βˆ™ 2w ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

βˆ™ 12y ago

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

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.


Where would you give percentages in everyday life?

you would find percentages in cooking sale prices grades


Why are rem statements important in qbasic programming?

qbasic is important because its technology


How to find the empirical formula with percentages?

To find the empirical formula with percentages, first convert the percentages to grams. Then divide the grams by the atomic mass of each element. Finally, simplify the ratios to find the simplest whole number ratio, which represents the empirical formula.


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 find the empirical formula from percentages?

To find the empirical formula from percentages, convert the percentages to grams, then divide the grams by the element's molar mass to find the moles. Finally, divide the moles by the smallest number of moles to get the ratio of elements in the compound, which represents the empirical formula.


How to determine percentage of cotton and wool in cotswool?

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