I'm stuck at array's question

Answer the following question regarding an array called dArray (for part a,b,c).

(a) Declare a two-dimensional array named darray of 6 rows and 8 columns of type double.

(b) Initialize the array darray to 0.0. (using loop).

(c) Print the array darray in one column per line.
Hi there,

Forum Rules wrote:
Don't post homework questions
Programmers are good at spotting homework questions; most of us have done them ourselves. Those questions are for you to work out, so that you will learn from the experience. It is OK to ask for hints, but not for entire solutions.

Please give more specifics about what it is you don't get.
Additionally, you can find more information on arrays here: http://cplusplus.com/doc/tutorial/arrays/

All the best,
Last edited on
Topic archived. No new replies allowed.