It helps a lot if you try to write what code you are able to write, post the code, then ask for help on what parts you do not understand. If you don't know how to get started, perhaps this similar code I wrote might help you.
Code:
#include <stdio.h>
int main(void) {
int arr[2][10] = { 0 };
for (int i = 0; i < 10; ++i) {
arr[0][i] = i;
arr[1][i] = arr[0][i] * 10;
}
for (int i = 0; i < 10; ++i) {
printf("%5d", arr[0][i]);
printf("%5d", arr[1][i]);
if (arr[0][i] % 2 == 0) {
printf("%8s", "even");
}
puts("");
}
}
Output:
Code:
0 0 even
1 10
2 20 even
3 30
4 40 even
5 50
6 60 even
7 70
8 80 even
9 90
Press any key to continue . . .