Last active
December 1, 2018 16:25
-
-
Save Guifgr/fca3dac9637e014eeea88bb242da8393 to your computer and use it in GitHub Desktop.
Plano cartesiano de palavras created by Guifgr - https://repl.it/@Guifgr/Plano-cartesiano-de-palavras
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
int main() | |
{ | |
int i,j; | |
char p[28][2] = {"AC","AL","AP","AM","BA","CE","DF","ES","GO","MA","MT","MS","MG","PA","PB","PR","PE","PI","RJ","RN","RS","RO","RR","SC","SP","SE","TO"}; | |
for(i=0;i<27;i++){ | |
for(j=0;j<27;j++){ | |
printf(" (%.2s,%.2s),",p[j],p[i]); | |
} | |
} | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Cartesian product of words in C language