#include<iostream.h>
#include<stdio.h>
#include<stdlib.h>
int main(void)
{
int datos[26] = {16,8,4,2,1,24,12,6,3,20,10,5,18,17,28,14,7,22,19,26,25,21,30,29,23,15};
char letras[26]={'a','e','i','o','u','b','c','d','f','g','j','k','h','l','m','n','p','r','s','t','y','x','q','w','v','z'};
int indice, i;
for(i=0;i<26;i++);
{
indice = datos[i];
printf("%i\n" ,datos[i]);
}
for(i=0; i<26;i++)
{
printf("%i\t",datos[i]);
}
}
Add a code snippet to your website: www.paste.org