/* Lecture 4 Example 1 - counting to zero Course 0015 Author: Peter Brusilovsky */ #include main() { int counter = 5; /* setting the counter */ printf("Start counting...\n"); while (counter) { printf("%d\n" , counter); counter = counter - 1; } printf("Fire!\n"); }