What are the conditions for the code to return a 0?
What are the conditions for the code to return a 1?
Given answers to those two questions, work on the code to do it.
Type: Posts; User: Norm
What are the conditions for the code to return a 0?
What are the conditions for the code to return a 1?
Given answers to those two questions, work on the code to do it.
Did you look at the String class to see if it has any methods that do what you want?
Please edit your post and wrap your code with code tags:
**YOUR CODE GOES HERE**
to get...