Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- int main() {
- int i;
- printf("Witaj w programie ala ma kota zaczynajmy");
- for (i = 0; i < 99; i++) {
- printf("Ala ma %d", i);
- if (i == 1) {
- printf("kota\n");
- }
- else if (i % 10 < 2 || i % 10 > 4 ) {
- printf("Kotow\n");
- }
- else {
- printf("Koty\n");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement