Use the equals method to compare the contents of String objects, not the == operator.
Please edit your post and wrap your code with code tags:
**YOUR CODE GOES HERE**
to get...
Type: Posts; User: Norm
Use the equals method to compare the contents of String objects, not the == operator.
Please edit your post and wrap your code with code tags:
**YOUR CODE GOES HERE**
to get...
First suggestion is to move the prompts for user input to a separate method that gets and validates the values from the user and returns them in a custom class.
Please edit your post and wrap your...