4: TOP 10 MAJORS WITH HIGHEST CONCENTRATION OF MEN Percent Women Percent Men 97 Naval Architecture and Marine Engineering 3 Mechanical Engineering Related Technologies 6 94 Military Technologies 7 93 92 Construction Services 8 9 Electrical and Mechanic Repairs And Technologies 91 Nuclear Engineering Industrial Production Technologies 91 91 Mechanical Engineering Mining and Mineral Engineering Electrical Engineering Technology 10 90 10 90 10 90
Write a
1) Create a 2 dim array containing the information using an initializer list.
2) If you have additional information which needs to be printed related to the data, you
can use other variables to store the information. For example, consider the table
below:
A two dim table with 10 rows and 2 columns can be used to represent the percent of
women and percent of men for each major.
The name of the majors can be stored in a one dimensional array of Strings.
There are other better ways to represent the information but for now this will do
nicely.
3) The program should print a line explaining what the data in the array represents.
4) Print the information in table format.
5) In a comment, cite the source of the information
Trending now
This is a popular solution!
Step by step
Solved in 5 steps with 3 images