Computer Science, asked by saishree07, 5 months ago

please tell me the mistakes I have done in this bluej program


question is below
in a class of n numbers of student the number of girls is m write a program to input the values of n and m find and print the percentage of boys and girls in the class

kindly don't spam and answer my question in a convenient manner​

Attachments:

Answers

Answered by mdzakiahmed990
1

Answer:

where you have written int there will be double

perb=(double)b/n*100;

perg=(double)m/n*100;

Similar questions