Question: Write a program, and store it in a Sub called StringsAreFun, that does the following: (a) It asks the user for a word with at
Write a program, and store it in a Sub called StringsAreFun, that does the following:
(a) It asks the user for a word with at least 8 characters and stores it in NiceWord.
(b) It displays a message indicating the number of characters in the word.
(c) It displays a message showing the first 4 characters of the word.
(d) It displays a message showing the last 4 characters of the word.
(e) It displays a message showing the seventh character in the word.
(f) It displays a message showing all but the first and last characters in the word.
(g) It displays the word in reverse order.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
