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 = 0.4, or 40%. The percentage of females can be calculated as 12 / 20 = 0.6, or 60%.

You should submit a flowchart, pseudo-code, Java code, and a screenshot of results for the program. The screenshot for this assignment can be obtained from Flowgorithm.

Can someone tell me how to do this specifically?

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 15:00
The three logical operators used to write compound conditions are "and," "or," and "not." a: true b: false
Answers: 2
question
Computers and Technology, 22.06.2019 16:00
You have inserted new slides based on a word outline. how do you format these new slides to match the powerpoint presentation formatting? a. select all slides in the presentation and click format on the home tab. b. select the new slides and click reset on the home tab. c. select all slides in the presentation and click reset on the home tab. d. select the new slides and click format on the home tab.
Answers: 3
question
Computers and Technology, 22.06.2019 18:00
What is the first view you place in your drawing?
Answers: 1
question
Computers and Technology, 22.06.2019 18:00
When is it appropriate to use an absolute reference
Answers: 1
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
Mathematics, 05.05.2021 04:10
question
Mathematics, 05.05.2021 04:10
question
English, 05.05.2021 04:10
question
Mathematics, 05.05.2021 04:10
question
Mathematics, 05.05.2021 04:10
question
Mathematics, 05.05.2021 04:10