Help ! Loop Program ! Bottle of beer

Sharky Forums


Results 1 to 2 of 2

Thread: Help ! Loop Program ! Bottle of beer

  1. #1
    Goldfish
    Join Date
    Mar 2001
    Location
    yonkers,ny,usa
    Posts
    68

    Post Help ! Loop Program ! Bottle of beer

    Help i need a loop program in C++ that does the song Bottle of beer so its on a floppy disk. thanks. If u can write it tell me cuz I cant !!! thanks

    john
    Msi K7t Turbo Raid
    1.133 mhz 266 athlon
    geforce 2 gts 32 mb pro santa cruz
    30 gb ibm 8.5 seek time 7200 rpm drive
    6x dvd
    8/4/32 cdrw
    dsl modem
    viewsonic pf790 moniter
    ACS54 Speakers

  2. #2
    Texan Dragon Moderator Galen of Edgewood's Avatar
    Join Date
    Sep 2000
    Location
    Ft Irwin, CA
    Posts
    5,602

    Post

    Originally posted by chaos615:
    Help i need a loop program in C++ that does the song Bottle of beer so its on a floppy disk. thanks. If u can write it tell me cuz I cant !!! thanks

    john
    That's a very simple program, John.

    for (int i=99;i>0;i--) {
    insert the song lines here
    using i as the number of beers left
    }

    Not a tough one.

    Now, would you like to write a simulation of a wireless network? That's what I'm doing....

    ------------------
    Baby of Edgewood @ birth (03/09/01, 12:34am)
    6 lbs 7 ounces
    18 inches long
    perfectly healthy
    Dragon of the OC Crusaders

    Break the rules and you're snack food for this dragon...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •