/* Program: beers.c How many beers are left after 5 rounds? */ #include int main() { float beers ; for ( beers = 1.0 ; beers != 0.0 ; beers = beers - 0.2) { printf("%f bottles of beer on the wall,\n", beers) ; printf("%f bottles of beer.\n", beers) ; printf("Take a fifth down, pass it around\n") ; printf("%e bottles of beer on the wall\n\n", beers - 0.2 ) ; } return 0 ; }