javascript
Brief description  about Online courses   join in Online courses
View Thuto McMillan Motseothata 's Profile

Multidimensional Arrays

Guys I am doing assignment for Multidimensional Array and was asked to have an output like
A B C D
E F G H
I J K L

How do I do it - I can do it using numbers (integers) but not with Strings or characters.

Thanks
Thuto
South Africa
Asked by Thuto McMillan Motseothata | Jul 3, 2013 |  Reply now
Replies (2)
View Neeraj Kumar 's Profile
thnk you
May 14, 2015
View ajit mahadeo angaj 's Profile
Use multidimensional char array for this purpose like
char [][] arr={{'A','B','C','D'},
{'E','F','G','H'},
{'I','J','K','L'},
{'M','N','O','P'}};
Jul 4, 2013