Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main(void) {
- char *nabeatsu[] = { "ナ", "ベ", "ア", "ツ" };
- int i, n = 0;
- for (i = 1; i < 30; i++) {
- if (i % 3 == 0 || i % 10 == 3) printf("%s\n", nabeatsu[n++ % 4]);
- else printf("%d\n", i);
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement