User Tools

Site Tools


cs509:cplusplusarrays

Array examples:

Array exercises:

1. Write a program that will fill an array a with 20 values of type int read in from the keyboard.

2. Write a program that uses an array to solve the following problem. Read in 20 numbers, each of which is between 10 and 100, inclusive. As each number is read, print it only if it is not a duplicate of a number already read.

cs509/cplusplusarrays.txt · Last modified: 2013/03/07 07:46 by jchung

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki