Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In java scripts Design and write a program that removes all desired letters from any user-entered sentence or phrase. Your solution should demonstrate an understanding

In java scripts image text in transcribed
Design and write a program that removes all desired letters from any user-entered sentence or phrase. Your solution should demonstrate an understanding of how to apply list and looping concepts in a program that should: - Take a sentence or phrase as input, - Take a comma-separated list of letters to remove as input, - Replace all occurrences of each target letter in the user-entered sentence, regardless of case sensitivity, with an underscore (" " ") character. Display the number of letters removed to the user, - The program will keep asking the user to enter a new sentence until the user enters the command 'quit'. Your solution must contain examples demonstrating your understanding of appropriate use of functions and core assignment concepts (loops and lists). EXAMPLES \& TESTING In the section below you will be presented with at least one screenshot of a successful execution of a sample solution to the program, which should help demonstrate how your input/output on the program should work. In addition to the sample values used in the screenshot(s), additional testing values are given in a chart along with the output values that they should produce. You can expect your instructor to grade your assignment by using all of these listed input values, but additional values may also be used. In other words, you should thoroughly test your code before submitting! ADDITIONAL TESTING VALUES \& EXPECTED RESULTS

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

SQL Instant Reference

Authors: Gruber, Martin Gruber

2nd Edition

0782125395, 9780782125399

More Books

Students also viewed these Databases questions