This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
Hi, I'm back again with anoth problem... I was making a simple program that just ran/made the song ""99 Bottles of beer on the wall". I can not find out the problem though with it, because I am only my screens worth of bottles. This is what I mean, whenever I run the program it quickly goes down to bottle #1 and whenever I scroll up to the very top it does not show the execution of my program like : or the rest of the bottles. In essence it only shows up to 59 bottles of beer on the wall and not 99... This is the code of the program:
If anyone can help with it, I do appreciate it. Thanks, Aaron
You have several choices. 1) You can write the output to a file java BeerSong > beerSong.txt Now open the bearSong.txt file with an editor (Notepad?)
2) You can increase the length of your DOS screen Open a DOS prompt window Click on the icon on the top left. Click on Properties. Go to the "Layout" tab. Under "Screen Buffer Size" change the "Height:" to something around 500 (Your output is 495 lines long). Click "OK"
3) That's probably enough choices for now.
JavaBeginnersFaq "Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
Joined: Aug 09, 2005
Thanks for your information again. It has helped again once more! Thanks, Rat