Question: In Java please code a logic where a user inputs a passage and then a word (a word which will be censored from the passage).
In Java please code a logic where a user inputs a passage and then a word (a word which will be censored from the passage). After that it would print the same passge but with the word entered being replaced with keyword "&". Please help. Will rate good,
EXAMPLE:
Passage:
I love chegg. Chegg is my best source to get help from and chegg is an important feaautre and tool in my life.
Word to be censored:
Chegg.
censored passage:
I love &&&&&. &&&&& is my best source to get help from and &&&&& is an important feaautre and tool in my life.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
