answersLogoWhite

0

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

1mo ago

Still curious? Ask our experts.

Chat with our AI personalities

EzraEzra
Faith is not about having all the answers, but learning to ask the right questions.
Chat with Ezra
MaxineMaxine
I respect you enough to keep it real.
Chat with Maxine
SteveSteve
Knowledge is a journey, you know? We'll get there.
Chat with Steve
More answers

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

12y ago
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