This program should declare a string of at most six characters. It should ask you to type in the string, and then print out the string and its third character on separate lines. It should then ask for a string again and print the string and its third character. It should repeatedly ask for a string, and print the output, until you type in a string starting with 's'. Then the program should end. When you are running the program try out these things: (a) What if you type in a string with more than six characters? (b) What if your string has only two characters? (c) What if it has only one character? 5
Use C++ language