Computer Science, asked by adrijabanerjee51, 1 month ago

Program 1: In a class of 'n' number of students, 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. write a simple java program not using input stream rader​

Answers

Answered by Anonymous
1

Explanation:

the total number of students be x

Percentage of female students = 44%

So, percentage of boys = 100 - 44 = 56%

Number of boys = 42

56% of x = 42

or (56 * x)/100 = 42

or x = 4200/56 = 75

Similar questions