DEVRY CIS 170 C iLab 5 of 7 Arrays and Strings

DEVRY CIS 170 C iLab 5 of 7 Arrays and Strings

DEVRY CIS 170 C iLab 5 of 7 Arrays and Strings

Check this A+ tutorial guideline at

http://www.assignmentclick.com/cis-170/cis-170-c-ilab-5-of-7-arrays-and-strings

For more classes visit
http://www.assignmentclick.com

CIS 170 C iLab 5 of 7 Arrays and Strings
Lab # CIS CIS170C-A5 Lab 5 of 7: Arrays and Strings Lab Overview - Scenario/Summary
You will code, build, and execute two programs requiring arrays and strings.

First program (Video Game Player Program): Determine the average score for a group of players and then determine who scored below average.
Second program (Pig Latin): Convert words in a phrase to pig latin.
Learning outcomes:
Be able to explain the need for arrays in a program. Be able to determine the appropriate array data type to use in a given program. Be able to write a program that implements arrays. Be able to explain the way memory is allocated for arrays in a program. Be able to explain the fact that arrays are objects in C++. Be able to write a program that implements strings.Deliverables
Section
Deliverable
Points
Part A
Step 5: Program Listing and Output
20
Part B
Step 5: Program Listing and Output
25
Lab Steps
Preparation:
If you are using the Citrix remote lab, follow the login instructions located on the iLab tab in Course Home.
Locate the Visual Studio 2010 icon and launch the application.
Lab:
Part A: Video Game Player Program
Step 1: Requirements
Write a program to do the following:
In main, declare a PlayerName Array and a Score Array. Declare the size of the arrays to be 100.

In the InputData function, input the player name and score into the arrays for an unknown number of players up to 100.
In the DisplayPlayerData function, display the name and score of each player. Numberofplayers
In the CalculateAverageScore function, calculate the average score and return it by value. numberofplayers
In the DisplayBelowAverage function, display the name and score for any player who scored below the...

Similar Essays