Computers and Technology
Computers and Technology, 15.10.2019 03:30, soliskb

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.

answer
Answers: 3

Similar questions

Do you know the correct answer?
Write a program that asks the user for the number of males and the number of females registered in a...

Questions in other subjects:

Konu
Mathematics, 21.07.2019 03:00
Konu
Mathematics, 21.07.2019 03:00