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
21
Answer:
Technology is the sum of techniques, skills, methods, and processes used in the production of goods or services or in the accomplishment of objectives, such as scientific investigation
Answered by
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