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
Write a program that calculates the area of a triangle in QBASIC
There is no shortcut key of input in qbasic
The different types of operators in QBASIC are:Arithmetic OperatorsRelational OperatorsLogical Operators
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.
the two types of data used in Qbasic is numeric data and alpha numeric data.
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.
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.
the extensions of qbasic are that, there are only 80 pixels to write in the qbasic
There are infinitely many bell curves and you need to have the distribution parameters to find percentages.
Most computer languages use the asterisk, "*", for multiplication.
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.
qbasic is important because its technology
you would find percentages in cooking sale prices grades
Write a program that calculates the area of a triangle in QBASIC
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.
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.
The percentages vary. To find the percentages for a particular fabric, read the label.