NoPistons -Mazda Rx7 & Rx8 Rotary Forum

NoPistons -Mazda Rx7 & Rx8 Rotary Forum (https://www.nopistons.com/)
-   Insert BS here (https://www.nopistons.com/insert-bs-here-12/)
-   -   Bored (https://www.nopistons.com/insert-bs-here-12/bored-23258/)

Rotarydragon 08-21-2003 11:27 PM

Code:

#include <iostream>



using namespace std;



int main(void)

{



        int intBottles = 99;



        for (int intCount = 100;intCount !=0;intCount--)

        {





        if (intBottles)

        {

  if(intBottles ==1)

  {

        cout << intBottles << " bottle of beer on the wall " << intBottles << " bottle of beer!" << endl;

        cout << "Take one down, pass it around no more bottles of beer on the wall." << endl;

        intBottles--;

  }

  else

  {cout << intBottles << " bottles of beer on the wall " << intBottles << " bottles of beer!" << endl;

  cout << "Take one down, pass it around " << intBottles - 1 << " bottles of beer on the wall." << endl;

  intBottles--;

  }

        }

        else



        {

  cout << endl;

  cout << endl;

  cout << "******* drunks!";

        }





        }



        system("pause");



}





HEEELLLLPPPPP MEEEEEEEEEEEEEE! https://www.nopistons.com/forums/pub...1047683358.gif https://www.nopistons.com/forums/pub...1047683358.gif https://www.nopistons.com/forums/pub...1047683358.gif



Bored....so bored...

GoRacer 08-21-2003 11:35 PM

Hmm, you must have the same job as me. Just shoot me now, ack.

j9fd3s 08-22-2003 11:03 AM

wow.

75 Repu 08-22-2003 11:06 AM

oi

rfreeman27 08-22-2003 11:15 AM

https://www.nopistons.com/forums/pub...1047683664.gif

teknics 08-22-2003 11:18 AM

RD you messed up, there's a bug.



when you have 2 bottles left this is what it will say:



2 bottles of beer on the wall 2 bottles of beer!

Take one down, pass it around 1 bottles of beer on the wall.



so you need a little more work on it.



kevin.

Rotarydragon 08-22-2003 12:47 PM

OH NO MY JOB AS A COMPUTER PROGRAMMER IS DOOOOOOOOMMMMEEEDDDDD!



You're just lucky I added any code to half ass correct the plural. *sniffs*



Noone is every happy with my work.....



Actually I'm not sure what's scarier, that I sat down and jotted down this program or that someone actually compiled it and ran it. https://www.nopistons.com/forums/pub...#>/biggrin.png

j9fd3s 08-22-2003 01:07 PM


Originally Posted by Rotarydragon' date='Aug 22 2003, 09:47 AM
OH NO MY JOB AS A COMPUTER PROGRAMMER IS DOOOOOOOOMMMMEEEDDDDD!



You're just lucky I added any code to half ass correct the plural. *sniffs*



Noone is every happy with my work.....



Actually I'm not sure what's scarier, that I sat down and jotted down this program or that someone actually compiled it and ran it. https://www.nopistons.com/forums/pub...#>/biggrin.png

yes, thats like a doomsday machine

teknics 08-22-2003 01:26 PM


Originally Posted by Rotarydragon' date='Aug 22 2003, 12:47 PM
OH NO MY JOB AS A COMPUTER PROGRAMMER IS DOOOOOOOOMMMMEEEDDDDD!



You're just lucky I added any code to half ass correct the plural. *sniffs*



Noone is every happy with my work.....



Actually I'm not sure what's scarier, that I sat down and jotted down this program or that someone actually compiled it and ran it. https://www.nopistons.com/forums/pub...#>/biggrin.png

i didnt compile and run it, i read the coding.



kevin.

Apex13B 08-22-2003 02:33 PM

i ran it



no werky


All times are GMT -5. The time now is 01:08 AM.


© 2024 MH Sub I, LLC dba Internet Brands