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
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
3
divide and multipley with 100..hope this is right. please mark me as brainlist and follow me.
JayaSinha675:
thank you
Similar questions
Math,
6 months ago
Math,
6 months ago
Social Sciences,
1 year ago
English,
1 year ago
Science,
1 year ago