![]() |
| ||
| Simple problem Can someone tell me how to correct this? for(int i = 0; i < 7; i ++) This is so simple that I cannot figure out what the problem is. I need "OK" to print if the getName() equals name. If they do not equal print "Is not included". I normally don't have problems with this but I have swapped and tried everything, I know that is is something simple. Thank you, |
| ||
| Re: Simple problem Just to clarify the question, the printing of "Ok" part works fine if the match is found, but you don't want it to also print "not included"? |
| ||
| Re: Simple problem String result = "Is not included."; |
| ||
| Re: Simple problem Thanks Ezzaral. |
| All times are GMT -4. The time now is 9:52 am. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC