Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main() {
- int turtles = 10;
- printf("\n 10 zombie turtles are flying through the air. \n");
- while (turtles > 2) {
- turtles--;
- printf("\n %i zombie turtles are flying through the air. Alex came and 1 turtle flew away :-(", turtles);
- }
- turtles--;
- printf("\n %i zombie turtle is flying through the air. Alex came and the turtle flew away :-(", turtles);
- printf("\n \n NO MORE ZOMBIES! \n");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement