This is my first java assignment from the cattle drive. Please ridicule me if I need it. Thanks, Wendy //Program to accept an arguement from the command line, and //print out 100 times.
(edited by Cindy to format code - else the nitpicking crew will get you on style . . . )
[This message has been edited by Cindy Glass (edited April 05, 2001).] Please do not post solutions to the Cattle Drive assignments. If you have a specific question on some code, email it to email@example.com [This message has been edited by Carl Trusiak (edited April 05, 2001).]
Wendy, do you need help with it or you are just posting it t let us know how simple it is? Here is a possible solution If you need help... - Check the args length to make sure it's greater than zero (note it could be more than 1) - Use some kind of loop to print the arguements out, just like you are already doing. Bosun
Bosun (SCJP, SCWCD).
So much trouble in the world -- Bob Marley
Yeah, we shouldn't have the code out there. I know it is small and an easy program, but we don't want to give things away. Wendy, send your code to firstname.lastname@example.org and we will pick it apart. Looks good but there are two things we nitpickers will pick apart. Send it in and we will whip it into shape Bill
Just would like to say sorry to all of you. I will not do that again. Am looking for some help for assignment #2. I have written something but it does not work. I will send what I have to email@example.com Thanks Wendy
No problem Wendy. If you want to go through the cattle drive though, which I strongly encourage, you have to start with assignment 1a and move through it that way. Come over to the cattle drive forum and poke around. Bill