![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 15.02.2020 00:18 musicismylove2340
(1) Prompt the user for a string that contains two strings separated by a comma. (1 pt) Examples of strings that can be accepted: Jill, Allen Jill , Allen Jill, Allen Ex: Enter input string: Jill, Allen (2) Report an error if the input string does not contain a comma. Continue to prompt until a valid string is entered. Note: If the input contains a comma, then assume that the input also contains two strings. (2 pts) Ex: Enter input string: Jill Allen Error: No comma in string. Enter input string: Jill, Allen (3) Using string splitting, extract the two words from the input string and then remove any spaces. Output the two words. (2 pts) Ex: Enter input string: Jill, Allen First word: Jill Second word: Allen (4) Using a loop, extend the program to handle multiple lines of input. Continue until the user enters q to quit. (2 pts) Ex: Enter input string: Jill, Allen First word: Jill Second word: Allen Enter input string: Golden , Monkey First word: Golden Second word: Monkey Enter input string: Washington, DC First word: Washington Second word: DC Enter input string: q
![ansver](/tpl/images/cats/User.png)
Answers: 1
![](/tpl/images/ask_question.png)
![](/tpl/images/ask_question_mob.png)
Other questions on the subject: Computers and Technology
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 06:30, miguel3maroghi
This technology is used to produce high-quality documents that look good on the computer screen and in print. wiki presentation paint desktop publishing
Answers: 3
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 19:20, mahaleyrenee1195
How might the success of your campaign be affected if you haven’t carefully completed all field data or if you accidentally insert the wrong merge field in the document?
Answers: 2
![image](/tpl/images/cats/informatica.png)
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 18:00, MagicDragon4734
Freya realizes she does not have enough in her bank account to use the debit card. she decides to use a credit card instead. which questions should freya answer before using a credit card? check all that apply. can i pay at least the minimum payment each month? can i make payments on time and avoid late fees? will i have to take out a loan? how much in finance charges can i afford to pay? should i talk to a consumer credit counseling service?
Answers: 1
You know the right answer?
(1) Prompt the user for a string that contains two strings separated by a comma. (1 pt) Examples of...
Questions in other subjects:
![Konu](/tpl/images/cats/mat.png)
Mathematics, 10.09.2020 17:01
![Konu](/tpl/images/cats/mat.png)
Mathematics, 10.09.2020 17:01
![Konu](/tpl/images/cats/mat.png)
Mathematics, 10.09.2020 17:01
![Konu](/tpl/images/cats/mat.png)
Mathematics, 10.09.2020 17:01
![Konu](/tpl/images/cats/obshestvoznanie.png)
Social Studies, 10.09.2020 17:01
![Konu](/tpl/images/cats/mat.png)
Mathematics, 10.09.2020 17:01
![Konu](/tpl/images/cats/mat.png)
Mathematics, 10.09.2020 17:01
![Konu](/tpl/images/cats/en.png)
English, 10.09.2020 17:01
![Konu](/tpl/images/cats/mat.png)
Mathematics, 10.09.2020 17:01
![Konu](/tpl/images/cats/mat.png)
Mathematics, 10.09.2020 17:01