Computer Science, asked by ashakabraham6315, 1 year ago

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

Answers

Answered by rvalllplay
1

this is your answer.I hope you like it

Attachments:
Answered by JayaSinha675
6

CLS

LET B = "28"

LET G = "22"

LET TS = B+G

LET PB = 28/TS *100

LET PG = 22/TS *100

PRINT "Percentage of boys " ; PB

PRINT " Percentage of girls " ; PB

END

Similar questions