Question: Write an interactive Java program that prompts for and reads a string, it then prompts for and reads two integer indexes. It finally erases
Write an interactive Java program that prompts for and reads a string, it then prompts for and reads two integer indexes. It finally erases two characters at the two indexes. Your program must work for any pair of valid indexes. Please enter a string: welcome to java class Please enter two integer indexes:[0-20]: 3 10 wel ome tocjava class
Step by Step Solution
There are 3 Steps involved in it
Answer Heres a Java program that accomplishes what you described import javautilScanner public class ... View full answer
Get step-by-step solutions from verified subject matter experts
