Assignment C

Use the lab instructions given on the Internet at http://voyager.deanza.edu/~oldham
Use the same format for the opening comments as in assignment A, with your name, course and quarter, assignment, problem, and short problem description.
Type a program, as described in the following description. Compile it, correct any errors and execute it.
Copy the execution results into an   /* Execution Results:   comment.
Print the completed program with the execution results from within the Interactive Development Environment.
Always use memory constants when constant values are needed, except numbers such as 0 or 1 can be used in the code where their use is clear.

Chapter 2 PROJECT 39

Test data: Use the first three letters or initials from your name
( use two if you only have two )

Chapter 2 PROJECT 43

Format the output as shown in the book, with the commas aligned.
Test data, run the program twice:
First test input: 10 31 2 73 24 65 6 87 18
Second test input: 1 2 3 4 5 6 7 8 9