Hello I am trying to write a program where the user input transform to lower case but I am having problems to return two values as lowercase method takes one input.
**also I know I can do all this in the main method, but I want to try to do it in two separate methods**
Hi, so my program ask the user this following questions in the main method and the user answers them with one letter, after that char toLowerCase method return the lower case of the user input. I am having trouble to return multiple input to the main method. Thank you
posted 2 weeks ago
I am having trouble to return multiple input to the main method.
Can you call the method more than one time to get multiple values returned?
The following code passes the same value to the method and will get the same value returned each time. To get different values returned, the code needs to pass different values to the method.
Please remember to wrap all posted code in code tags to preserve formatting.