Thanks for the quick replies. For the above I have no idea how to do that. If someone wants to show me how that would be done I would appreciate it otherwise I got it to work by just creating another...
Type: Posts; User: RepersGhost
Thanks for the quick replies. For the above I have no idea how to do that. If someone wants to show me how that would be done I would appreciate it otherwise I got it to work by just creating another...
Ok well I did as you said and used the println to see what they were being seen as and I think the problem is with the
firstName = firstName.toUpperCase();
because I made the firstName Mike...
What I mean is for this problem the boolean is checking the names and if the name is the same it is true and should give a discount and then do the following.
if (discount)
{...
Ok working on another problem and everything works like it should except for the fact that my boolean discount isn't showing the output for some reason? I think I'm missing something really simple...