CIS170C All Assignments CIS170C All Assignments | Page 37
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
1.
Capture a screen print of your output. (Do a PRINT SCREEN and paste into an MS Word
document.)
2.
Copy your code and paste it into the same MS Word document that contains the screen
print of your output.
3.
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.”
Sample Output from Program