Hi Will,

The loop is just to find the name you entered. Use JOptionPane to display if
it did find it or not. Just like exercice to, except that it should use
another way to loop through the name list array.

Hugs

On Wed, Jul 15, 2009 at 2:10 AM, William Espinosa <[email protected]
> wrote:

>  Hey all,
>
> I have a question about Lab-1034 assignment on modding MyForLoop to use
> while loop. Does anyone know if the loop has to display on the JOptionPane
> or System.out.println("");?
>
> I have it set using:
>
> while (counter < 6){
>  System.out.println(searchName);
>  counter++;
>  }
>
> It displays the input name 6 times on the Output screen after using the
> JOptionPane.
>
> ------------------------------
> Windows Live™ SkyDrive™: Get 25 GB of free online storage. Get it on your
> BlackBerry or 
> iPhone.<http://windowslive.com/online/skydrive?ocid=TXT_TAGLM_WL_SD_25GB_062009>
> >
>


-- 
Diogo Sales Oliveira

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/javaprogrammingwithpassion?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to