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 :)
Answered by
1
there are 50% of students
Similar questions
Hindi,
7 months ago
History,
7 months ago
Math,
7 months ago
Art,
1 year ago
Social Sciences,
1 year ago
Computer Science,
1 year ago