Return To CS 110 Home

Colour Theme   Font Size Options
 
   
   
   
Exercise 1

One Dimensional Array Exercise

Add code to template file ex1_1DArray.cpp in the replit team project or create it in your IDE.

Your program will include the following:

Your results should look something like this:

> ex1_1DArray
Please give me 10 numbers:
3
8
123
6
1
9
3
0
42
9001
Index Ascending: 3 8 123 6 1 9 3 0 42 9001
Index Descending: 9001 42 0 3 9 1 6 123 8 3
The Total is: 9196

When you are done: