#include <stdio.h>
#include <stdbool.h>
int main(void) {
enum color {white, red, blue, green, black} farbe;
int a[5], i;
bool yesno;
yesno = true;
if(yesno) {
for (farbe = white; farbe <= black; farbe++)
scanf("%d", &a[farbe]);
}
for(farbe=white; farbe <= black; farbe++)
printf("%d:%d ", a[farbe], farbe);
printf("\n");
for(i=0; i<5; i++)
printf("%d ", a[i]);
}
To embed this project on your website, copy the following code and paste it into your website's HTML: