subject

Write 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. there are 20 students in the class. the percentage of males can be calculated as: (8/20) * 100, or 40%. the percentage of females can be calculated as: (12/20) * 100, or 60%.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 07:30
Write a program that inserts the digits of an integer into an array in originalorderfollowed by reverse order. first, promptthe user to enter a positive integer(> 0). determine the number of digits of the integer. create a dynamically allocated integer arrayof a size twice the number of digits.now insert the digits in original order which will occupy half of the array. then, insert the digits in reverse order.finally, output thedigits in thearray.use at least two functions to organize your program.
Answers: 3
question
Computers and Technology, 23.06.2019 11:30
Which excel file extension stores automated steps for repetitive tasks?
Answers: 1
question
Computers and Technology, 24.06.2019 15:50
Andy would like to create a bulleted list. how should he do this? andy should click on the bullet icon or select the bullet option from the menu and then type the list. andy should press the shift key and the 8 key at the beginning of each line of text. andy should type the text and then click on the bullet command. andy should press return and the bullets will automatically
Answers: 2
question
Computers and Technology, 24.06.2019 16:00
Your is an example of personal information that you should keep private.
Answers: 2
You know the right answer?
Write a program that asks the user for the number of males and the number of females registered in a...
Questions
question
Arts, 01.12.2021 01:00
question
Biology, 01.12.2021 01:00
question
Mathematics, 01.12.2021 01:00
question
English, 01.12.2021 01:00
question
Health, 01.12.2021 01:00
Questions on the website: 13722367