how to input two numbers separated by space for solving the challenges note:-answer is required in java | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

how to input two numbers separated by space for solving the challenges note:-answer is required in java

Title: Change in Case Problem: You will be given a single string and two positive integers denoting indices. You need to change the case of the characters at those indices,i.e change uppercase to lowercase and lowercase to uppercase.

4th Jun 2020, 8:49 AM
MST
1 Answer
0
if input is from keyboard, use Scanner.nextInt() twice
4th Jun 2020, 2:34 PM
zemiak