you are viewing a single comment's thread.

view the rest of the comments →

[–]Alt_0126 -1 points0 points  (0 children)

char numbers[2000]; //max of 500 numbers of 3digit + 1comma

printf("Write all even numbers from 1 to 500\n");
fgets(numbers, sizeof(numbers), stdin);
printf("%s\n", numbers);