0% found this document useful (0 votes)
251 views1 page

Example For C Programming Language

The code defines an array of team names for the UEFA Champions League grouped into 5 groups of 4 teams each. It then loops through the groups and prints out each team name within the group formatted with the group letter and team position number.

Uploaded by

Tegar Sahputra
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
251 views1 page

Example For C Programming Language

The code defines an array of team names for the UEFA Champions League grouped into 5 groups of 4 teams each. It then loops through the groups and prints out each team name within the group formatted with the group letter and team position number.

Uploaded by

Tegar Sahputra
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

#include<stdio.

h>
#include<conio.h>
main()
{
int i,s;
char h=64, nama[5][4][20] =
{ "AC Milan","Barcelona","Porto","Monaco",
"Liverpool", "Real Madrid","CSK Moskow","PSG", "Inter Milan","Arsenal",
"Atletico Madrid","Ajax", "AS Roma","Manchester United","Dortmund",
"Valencia", "Manchester City","Bayern Munich","Napoli","Vilareal" };
printf("Liga Champions : \n\n");
for(i=0; i<5; i++)
{
++h;
printf("Grup %c \n", h);
for(s=0; s<4; s++)
{
printf(" %d. %s \n", s+1, nama[i][s]);
}
printf("\n");
}
getch();
}

You might also like