Insert BS here A place to discuss anything you want!

Bored

Thread Tools
 
Search this Thread
 
Old 08-21-2003, 11:27 PM
  #1  
Senior Member
Thread Starter
 
Rotarydragon's Avatar
 
Join Date: Feb 2002
Location: Close enough to annoy you.
Posts: 1,381
Default

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!



Bored....so bored...
Rotarydragon is offline  
Old 08-21-2003, 11:35 PM
  #2  
Senior Member
 
GoRacer's Avatar
 
Join Date: Aug 2002
Location: O.C. - CA.
Posts: 840
Default

Hmm, you must have the same job as me. Just shoot me now, ack.
GoRacer is offline  
Old 08-22-2003, 11:03 AM
  #3  
Senior Member
 
j9fd3s's Avatar
 
Join Date: May 2002
Location: California
Posts: 22,465
Default

wow.
j9fd3s is offline  
Old 08-22-2003, 11:06 AM
  #4  
Senior Member
 
75 Repu's Avatar
 
Join Date: Aug 2002
Location: Mike is a Liar!
Posts: 4,848
Default

oi
75 Repu is offline  
Old 08-22-2003, 11:15 AM
  #5  
Senior Member
 
rfreeman27's Avatar
 
Join Date: Dec 2002
Location: fredneck MD
Posts: 4,107
Default

rfreeman27 is offline  
Old 08-22-2003, 11:18 AM
  #6  
Senior Member
 
teknics's Avatar
 
Join Date: Dec 2002
Location: Wayne, NJ
Posts: 4,837
Default

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.
teknics is offline  
Old 08-22-2003, 12:47 PM
  #7  
Senior Member
Thread Starter
 
Rotarydragon's Avatar
 
Join Date: Feb 2002
Location: Close enough to annoy you.
Posts: 1,381
Default

OH NO MY JOB AS A COMPUTER PROGRAMMER IS DOOOOOOOOMMMMEEEDDDDD!



You're just lucky I added any code to half *** 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.
Rotarydragon is offline  
Old 08-22-2003, 01:07 PM
  #8  
Senior Member
 
j9fd3s's Avatar
 
Join Date: May 2002
Location: California
Posts: 22,465
Default

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 *** 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.
yes, thats like a doomsday machine
j9fd3s is offline  
Old 08-22-2003, 01:26 PM
  #9  
Senior Member
 
teknics's Avatar
 
Join Date: Dec 2002
Location: Wayne, NJ
Posts: 4,837
Default

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 *** 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.
i didnt compile and run it, i read the coding.



kevin.
teknics is offline  
Old 08-22-2003, 02:33 PM
  #10  
Senior Member
 
Apex13B's Avatar
 
Join Date: Nov 2002
Location: Colorado Springs
Posts: 1,679
Default

i ran it



no werky
Apex13B is offline  


Quick Reply: Bored



All times are GMT -5. The time now is 02:07 AM.