kagemaro

Untitled

Apr 9th, 2017
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.83 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <conio.h>
  3. #include <iostream.h>
  4.  
  5.  
  6. void main()
  7. {
  8. int i,s;
  9. char h=64,arr[5][5][20]=  
  10.         {  
  11.  
  12.             "AC Milan ||","Real Madrid ||","Benvica ||",
  13.              "Inter Milan ||","Lazio ||",
  14.             "PSG ||","Manchester City ||",
  15.              "Atletico Madrid ||","Chelsea ||","Liverpool ||",
  16.             "Juventus ||","Bayern Munich ||","Arsenal ||",
  17.              "AS Roma ||","Barcelona ||",
  18.             "Valencia ||","Dortmund ||","Leicester City ||","Lyon ||","Sevilla ||",
  19.             "Ajax||","Monaco ||","Porto ||","Benfica ||","Tottenham ||",
  20.  
  21.         };
  22. clrscr();
  23. printf(":::3D Array Elements:::\n\n");
  24. for(i=0;i<5;i++)
  25.    {h++;
  26.    printf("Group %c \n",h);
  27. for(s=0;s<5;s++)
  28.    {
  29.    printf("    %d. %s \n",s+1,arr[i][s]);}}
  30.                                  
  31.  
  32. getch();
  33. }
Add Comment
Please, Sign In to add comment