<u>Explanation:</u>
The program using <em>python programming language </em>would be:
First, we write the Input prompt.
<u>Input prompt for the user</u>
number_of_males_in_class = int (input ('Enter the number of males: '))
number_of_females_in_class = int(input('Enter the number of females: '))
Next, we write the Process algorithm.
<u>Process algorithm</u>
total_number_of_students_in_class = number_of_females_in_class + number_of_males
_in_class
percentage_of_males_in_class = number_of_males_in_class / total_number_of_students
_in_class
percentage_of_females_in_class = number_of_females / total_number_of_students
Finally, the Output process
<u>Output process</u>
print('Total number of males in class =', format(percentage_of_males_in_class, '.0%'))
print('Total number of females =', format(percentage_of_females_in_class, '.0%'))