0% found this document useful (0 votes)
20 views1 page

NH Computing-Science Assignment 2024 Task 1 Instructions

A research organization seeks to develop a program that analyzes CEO salary data from the top 100 technology companies stored in a CSV file. The program will allow users to compare a specific company's CEO salary with the highest salary and identify the company with the most employees, along with the number of companies employing within 10% of that figure. The external data file is assumed to be regularly updated.

Uploaded by

mashac
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
20 views1 page

NH Computing-Science Assignment 2024 Task 1 Instructions

A research organization seeks to develop a program that analyzes CEO salary data from the top 100 technology companies stored in a CSV file. The program will allow users to compare a specific company's CEO salary with the highest salary and identify the company with the most employees, along with the number of companies employing within 10% of that figure. The external data file is assumed to be regularly updated.

Uploaded by

mashac
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Task 1: software design and development

Problem description
A research organisation currently gathers and stores data on the salaries paid to the chief
executive officers (CEOs) of the top 100 technology companies in the country. They want a
program to help them use this data effectively.

Purpose
A CSV file stores the following data about the 100 companies:

♦ company name
♦ number of employees
♦ salary paid to CEO

This data will be read into parallel arrays.

The program will allow the user to enter the name of a company to find and display the
difference between that company’s CEO’s salary and the highest paid CEO of all 100
companies.

The program will also find the highest number of employees employed by a single
company, and the number of companies who employ within 10% of that figure.

Examples of the program outputs are shown below.

Enter the name of the company you would like to check:

Goldman
GameGo company has the highest paid CEO.
The Goldman CEO earns £222 817 less than the highest paid CEO.

The highest number of employees employed by a single company is 888.


11 companies employ within 10% of 888.

Assumptions
♦ the external file is current and updated regularly

Version 1.0 11

You might also like