Thread
:
Entering a while loop with a not equal to string
View Single Post
#
5
(
permalink
)
07-09-2008, 07:27 AM
Eku
Senior Member
Join Date: May 2008
Location: Makati, Philippines
Posts: 228
You have a very simple error ^_^
please change this:
Code:
while ( !employeeName.equalsIgnoreCase ("stop") );
to This:
Code:
while ( !employeeName.equalsIgnoreCase ("stop") )
You put a ";". ^_^ Try removing it ^_^
I hope that helps
__________________
Mind only knows what lies near the heart, it alone sees the depth of the soul.
Eku
View Public Profile
Send a private message to Eku
Find all posts by Eku