Arrays need assistance

hi there, just joined this forum but im very familiar about this site, i have been browsing for some information here for sometime now. i just wanted to ask some help for those who knew more about what i lack in C++.

well here goes...

i need help on array's here is the problem.

Array values
1
2
3
4
5

1   A B C D E F G
2   H I J K L M N
3   O P Q R S T U
 


1,2 and 3 are the index

and the output should be...

Array values

A H O B I P C J Q D K R E L S F M T G N U


we have been instructed to use only arrays...

thanks

XoXo Esteban

You could use an array of arrays, or a two-dimensional array.
Last edited on
You will also need a for loop. If you don't know what that is:
http://cplusplus.com/doc/tutorial/control/

And for arrays:
http://cplusplus.com/doc/tutorial/arrays/

-Albatross
Use a 2d array as u do matrix in maths.
Its a 3*7 array ie. u will need a nested loop with counters i=0 to 2 & j= 0 to 6.

I hope u got it right.
i still dont get it can you provide some example codes?
Nah...

Try to explain in a Step-By-Step manner what exactly You want the program to do...
This may help You to create some pseudo-code for yourself and then , maybe, it is way easier to implement:)...
Topic archived. No new replies allowed.