/*
第2種情報処理技術者試験 平成5年度・春期・午後 問8(設問3)
BohYoh Shibata PREPARATION
*/
#include <stdio.h>
char *planet[] = {
"Sun","Mercury","Venus","Earth","Mars","Jupiter",
"Saturn","Uranus","Pluto","Neptune"
};
main()
{
int i,j;
for (i = 0; i < 10; ++i ) {
printf("%d : ", i);
j = 0;
while ( planet[i][j] != '\0') {
printf("%c", planet[i][j] );
++j;
}
printf("\n");
}
}