14 November 2008

//kill gill

int main() {

int x, y, gophers, dead;

cout << “How many gophers are in your yard?”; cin >> gophers;

dead = 0;

while (dead <= gophers) {

for (x = 0; x <= 10; x++) {

for (y = 0; y <= 10; y++) {
dig_hole (x, y);
check_gopher (aha);

if (aha= true){
shoot_gopher_in_face_with_pellet_gun (dead);
dead++; }
}
}
}

cout << “gill is gone.”;

return(0);
}

No comments: