Computer Science, asked by JayaSinha675, 1 year ago

There are 28 boys and 22 girls in your class. Write a program in QBASIC to find the percentage of boys and girls in the class

Answers

Answered by AditiSinha23
3

CLS

INPUT " Enter the total number of students " ; TS

LET B = 28

LET G = 22

LET PB = 28/50*100

LET PG = 22/50*100

PRINT " Percentage of boys " ; PB

PRINT " Percentage of girls " ;PB

END

Hope it helps :)

Read more on Brainly.in - https://brainly.in/question/9036630#readmore

Answered by Sangitasinha
3

divide and multipley with 100..hope this is right. please mark me as brainlist and follow me.


JayaSinha675: thank you
Similar questions