Question: Just fill in the empty brackets but dont change the outline. thanks! A+ Computer Science Lab Goal This lab was designed to teach you how

Just fill in the empty brackets but dont change the outline. thanks!  Just fill in the empty brackets but dont change the outline.
thanks! A+ Computer Science Lab Goal This lab was designed to teach
you how to use a while loop. Lab Description Remove all instances

A+ Computer Science Lab Goal This lab was designed to teach you how to use a while loop. Lab Description Remove all instances of the specified removal letter from the original sentence. LETTER REMOVER Sample Data: I am Sam I ama Files Needed LetterRemover.java qwertyqwertyqwerty a abababababa b abaababababa x Sample Output I am Sam I am letter to remove a I m SmIm algorithm help int loc = x . indexOf ( y ) while there are more letters to remove ssssSSssxssssesssssesss-letter to remove s qwertyqwertyqwerty letter to remove a qwertyqwertyqwerty take out the letter substring locx.indexof (y) abababababa letter to remove b abaababababaletter to remove x abaababababa import static java.lang.System.; public class LetterRemover private String sentence; private char lookFor public LetterRemover) //call set /add in second constructor public void setRemover(String s, char rem) sentence s lookFor rem public String removeLetters0 String cleaned sentence return cleaned; public String toString return sentence+etter to remove"lookFor import static java.lang.System.*; public class LetterRemoverRunner public static void main( String args) //add test cases

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!