If you have a solution open in Visual Studio, close it (File->Close Solution).
Download CS200_Lab17.zip. Import it into Visual Studio (File->Import...).
Add your code to the source file called Reverse.c.
Write a program to read 10 integer values from the user and then print out the values in reverse order.
Example run (user input in bold):
Enter 10 int values:42 19 13 68 64 92 15 65 22 6Reversed sequence:6 22 65 15 92 64 68 13 19 42
Use an array of int values to store the sequence entered by the user.
Start out by sketching your algorithm in pseudo-code. Using an example input sequence (such as the one above), use a pen and paper example to step through your algorithm. Make sure that it correctly reverses the input sequence.
When you are done, choose Tools->Submit to submit your completed lab to the server. You will need to enter your Marmoset username and password.
If the Tools->Submit option does not work, create a zip file containing the files in your project, and upload it to the submission server as lab17. The server URL is