0

How to solve

Write a program that asks the user for the number of males and the number of females registered in a class using two separate inputs ("Enter number of males:", "Enter number of females:"). The program should display the percentage of males and females (round to the nearest whole number) in the following format: Percent males: 35% Percent females: 65% Use string formatting.

10th Sep 2018, 2:28 AM
lourdes pinder
lourdes pinder - avatar
1 Réponse
+ 2
Show us your attempt, if you encounter any problem we will definitely help you out. Also add a tag for which language you are asking about
10th Sep 2018, 6:59 AM
blACk sh4d0w
blACk sh4d0w - avatar