array in c++

Save these integers (5, -2, -31, 8, 0, 23,
-7, 11, 10 and -5) to an array called
number_array
.
Using for-loops
Find and output how many positive numbers
are in
number_array
.
Save all positive numbers to an array calle
d
pos_num_array
.
Output the contents of
pos_num_array
with an informative way
I'm guessing this is for an assignment so...

http://www.cplusplus.com/doc/tutorial/arrays/
What is your code so far?
Topic archived. No new replies allowed.