Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <conio.h>
- #include <iostream.h>
- void main()
- {
- int i,s;
- char h=64,arr[5][5][20]=
- {
- "AC Milan ||","Real Madrid ||","Benvica ||",
- "Inter Milan ||","Lazio ||",
- "PSG ||","Manchester City ||",
- "Atletico Madrid ||","Chelsea ||","Liverpool ||",
- "Juventus ||","Bayern Munich ||","Arsenal ||",
- "AS Roma ||","Barcelona ||",
- "Valencia ||","Dortmund ||","Leicester City ||","Lyon ||","Sevilla ||",
- "Ajax||","Monaco ||","Porto ||","Benfica ||","Tottenham ||",
- };
- clrscr();
- printf(":::3D Array Elements:::\n\n");
- for(i=0;i<5;i++)
- {h++;
- printf("Group %c \n",h);
- for(s=0;s<5;s++)
- {
- printf(" %d. %s \n",s+1,arr[i][s]);}}
- getch();
- }
Add Comment
Please, Sign In to add comment