Question: pseudocode : Design a program that asks the user for the number of males and the number of females registered in a class. The program
pseudocode : Design a program that asks the user for the number of males and the number of females registered in a class. The program should display the percentage of males and females in the class.
Hint: suppose there are 8 males and 12 females in a class and there are 20 students in the class. The percentage of males can be calculated as 8/20=0.4 or 40% : females 12/20 = 0.6 or 60%
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
