CIS 1111 Programming Topic 12 – Skiers Competition
Question # 00254771
Posted By:
Updated on: 04/18/2016 08:49 AM Due on: 05/18/2016
CIS 1111 Programming Topic 12 – Skiers Competition
(20 Points)
Description:
Develop a C++ program to provide information regarding a recent downhill ski competition. Enter the
names and times of the skiers and determine fasted speed, average speed, look up a skier’s time, and
display the skiers’ names and times.
Name
Leela
Sarah
Anna
Keesha
Heidi
Time
2.03
2.40
1.85
1.90
2.50
Requirements:
1. Use parallel arrays to store the skier names and times. Declare a global const SIZE = 5 to
represent the size of the array. Declare the arrays inside the main program. Do NOT use global
variables. The arrays must be passed to the functions as parameters.
2. Variable names must be descriptive and initialized.
3. Create a menu to ask the user if they want to
a. Determine the fastest skier
b. Calculate the average time
c. Find the time of a skier
d. Display the skiers and their times
4. Display the menu in the main program and then have functions for each of the menu items.
5. The four functions will be
a. Display fastest skier
b. Display average time
c. Display skier’s time. In this function, flag if the user enters a name that is not in the list.
Display a message to let the user know the name was not in the list.
d. Display the skiers and their times
6. Output must be labelled and easy to read as shown in the sample output below.
7. Program must be documented with the following:
a. // Name
b. // Date
c. // Program Name
d. // Description
Submit:
1
Zipped folder named LastNameFirstNameCIS1111NameOfAssignment which contains:
1. Your .cpp file
2. Screen shots of your code and output
Sample Output:
2
Grading Guidelines for This Assignment
Range – Low End
(Did not do or did
very little effort)
Range – High End
(Used correctly and spent
time/effort on programming)
Names of variables are meaningful and the
program comments self-document the program
0
2
Met all stated requirements
0
10
Output is correct given the input, and the output
is correctly formatted
0
4
Program compiles and executes without any
runtime, syntax, or logic errors
0
3
The zipped project folder that includes the C++
.cpp source files and screens shots of the code
and console is uploaded to drop box.
0
1
Total Points Possible
0
20
3
(20 Points)
Description:
Develop a C++ program to provide information regarding a recent downhill ski competition. Enter the
names and times of the skiers and determine fasted speed, average speed, look up a skier’s time, and
display the skiers’ names and times.
Name
Leela
Sarah
Anna
Keesha
Heidi
Time
2.03
2.40
1.85
1.90
2.50
Requirements:
1. Use parallel arrays to store the skier names and times. Declare a global const SIZE = 5 to
represent the size of the array. Declare the arrays inside the main program. Do NOT use global
variables. The arrays must be passed to the functions as parameters.
2. Variable names must be descriptive and initialized.
3. Create a menu to ask the user if they want to
a. Determine the fastest skier
b. Calculate the average time
c. Find the time of a skier
d. Display the skiers and their times
4. Display the menu in the main program and then have functions for each of the menu items.
5. The four functions will be
a. Display fastest skier
b. Display average time
c. Display skier’s time. In this function, flag if the user enters a name that is not in the list.
Display a message to let the user know the name was not in the list.
d. Display the skiers and their times
6. Output must be labelled and easy to read as shown in the sample output below.
7. Program must be documented with the following:
a. // Name
b. // Date
c. // Program Name
d. // Description
Submit:
1
Zipped folder named LastNameFirstNameCIS1111NameOfAssignment which contains:
1. Your .cpp file
2. Screen shots of your code and output
Sample Output:
2
Grading Guidelines for This Assignment
Range – Low End
(Did not do or did
very little effort)
Range – High End
(Used correctly and spent
time/effort on programming)
Names of variables are meaningful and the
program comments self-document the program
0
2
Met all stated requirements
0
10
Output is correct given the input, and the output
is correctly formatted
0
4
Program compiles and executes without any
runtime, syntax, or logic errors
0
3
The zipped project folder that includes the C++
.cpp source files and screens shots of the code
and console is uploaded to drop box.
0
1
Total Points Possible
0
20
3
-
Rating:
/5
Solution: CIS 1111 Programming Topic 12 – Skiers Competition