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

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

Write a program which does the following (name=xxx_and_xxx_lab2):
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

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
Transcribed Image Text: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
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 5 steps with 3 images

Blurred answer
Knowledge Booster
Array
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education