Code:
#include <stdio.h>
#define LIMIT_2 28
/* j, k, l, m, n, o */
int main (void)
{
int p = 0;
char alphabet[LIMIT_2] = { 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'w', 'y', 'z', '\0' };
char array[ ] = { 'A', 'B', 'C', 'D', 'E', 'F', '\0' };
int k_2 = 61;
int x = 97;
int u = 0;
while (p <= 26 && k_2 <= 79) // k_2 <= 79
{
while (x <= 123 && p <= LIMIT_2) // while <= 123
{
printf("\n%c\t%d", alphabet[p], k_2);
p++;
k_2++;
if (k_2 == 69)
{
while (u <= 5)
{
printf("\n7%c", array[u]);
u++;
}
}
printf("\t%d\t", x);
x++;
}
printf("\n");
}
return 0;
}
Please, what would be the best way to output "6A, 6B, 6C, 6D, 6E, 6F" inside the second column after 69? Any other bugs I will fix by myself.