storing input from a user, to an array
Posted on 2003-11-12
hi. i'm new to 'c programming'. i've got a simple task, which my head cannot get around it. i'm supposed to create an array, that can store 5 user inputs. these inputs are integers. these integers are then stored to the array, which was created, and later printed to the screen.
"takes 5 integers one at a time from the keyboard and places them in sequential locations in the array. prints the array elements to the screen one at a time, placing each element on seperate line."