[solved]-Write Program Works Strings Program Loop User Wants Quit Ask User Input Stringi Example Pr Q39085631
C program
Write a program that works with strings. Your program should loop until the user wants to quit. • Ask the user to input a stringi. Example: “Why did a programmer quit his job?” • Calculate and print the number of times “i” appears in the stringi. • Read in a second string2 and append it to the first string1. Example: “Because he didn’t get arrays.” • Print string 1 and string 2. Ask the user to input a string3. Example: “What kind of snake does a programmer probably own? A pi-thon.” Calculate and print the length of string3. Show transcribed image text Write a program that works with strings. Your program should loop until the user wants to quit. • Ask the user to input a stringi. Example: “Why did a programmer quit his job?” • Calculate and print the number of times “i” appears in the stringi. • Read in a second string2 and append it to the first string1. Example: “Because he didn’t get arrays.” • Print string 1 and string 2. Ask the user to input a string3. Example: “What kind of snake does a programmer probably own? A pi-thon.” Calculate and print the length of string3.
Expert Answer
Answer to Write a program that works with strings. Your program should loop until the user wants to quit. • Ask the user to inpu… . . .
OR

