Like a lot of people here I'm fairly new at using Java and I'm having difficulties using equals (==) statements. I need need to use the if statement to say "Do you have any data to enter?", if (input == "yes") then continue with the loop.
obviously this doesn't work and I've tried using String, char, linking either to an int value and then to the if but without any luck. I'm aware most will simply tell me they're not here to do my homework and I agree. I simply need someone to point me in the right direction (website, example, anything). Also arrays are off limits for this assignment; any help would be greatly appreciated. Thanks in advance.
*Edit* um yeah, thanks to anyone for taking the time to read this post but after 6 hours of searching the web I found out how to do it.