DEVRY CIS 170 Entire CourseDEVRY CIS 170 Entire Course DEVRY CIS 170 C iLab 5 of 7 Arrays and Strings | Page 3

Sue 1098 Pat 3217 Press any key to continue . . . Step 2 : Processing Logic Using the pseudocode below , write the code that will meet the requirements . Main Function Declare the player name and score arrays , number of players , and average score . Call the InputData function Call the DisplayPlayerData function Call the CalculateAverageScore function and assign the returned value in average score Call the DisplayBelowAverage function InputData function While the number of players is less than the length of the array Prompt for the player ' s name If the user entered Q , break out of the loop Prompt the user for the player ' s score Add 1 to the number of players End-While DisplayPlayerData function Display the name and score of each player CalculateAverageScore function Add up the scores and divide by the number of scores to calculate the average score Display the average score Return the average score to main DisplayBelowAverage function Display the names and scores of all players who scored below the average score Step 3 : Create a New Project Create a new project and name it LAB5A . Write your code using the Processing Logic in Part A , Step 2 . Make sure you save your program . Step 4 : Compile and Execute a ) Compile your program . Eliminate all syntax errors . b ) Build your program and verify the results of the program . Make corrections to the program logic if necessary until the results of the program execution are what you expect . Step 5 : Print Screen Shots and Program Capture a screen print of your output . ( Do a PRINT SCREEN and paste into an MS Word document .) Copy your code and paste it into the same MS Word document that contains the screen print of your output . Save the Word document as Lab05A _ LastName _ FirstInitial . END OF PART A Part B : Pig Latin Step 1 : Requirements Write a program that will input a phrase and convert it to pig latin . Put each word in a separate element of a string array . Remove the first letter from each word and concatenate it to the end of the word followed by “ ay .”