In a class 'n' number of students, the number of girls is 'g'. Write an algorithm and flowchart to input the values of 'n' and 'g'. Find and print the percentage of boys and girls in the class
Answers
Answered by
2
Explanation:
Here we will take total number of students and number of girls from the user itself. So total number of boys will be the difference between number of students and number of girls. So I took b=n-g
Attachments:
Similar questions