Question: Task 1 Print Heading Information ( see sample output to see what needs to be displayed ) Task 2 Have the user enter their name

Task 1 Print Heading Information (see sample output to see what needs to be displayed)
Task 2 Have the user enter their name in First Last format.
Use Data Validation to ensure that the value entered is not blank and does indeed include a space. Dont end the
program when an invalid input is encountered but provide an error message and allow the user to reenter the
information.
Once a valid name has been entered, divide the name into first and last names.
Display the index value showing the location of the space, the first name and the last name.
Task 3 Using a loop, have the user enter some of their favorite holiday words or phrases. They may enter as many
words/phrases as they wish but they must enter at least two (2).
Your program must verify that at least 2 words/phrases have been entered.
For each word/phrase that is entered:
- Display the word/phrase along with the number of characters that it contains.
- Display the character within the word/phrase that has the smallest ASCII value and what its value is.
- Display the character within the word/phrase that has the largest ASCII value and what its value is.
- Calculate and display the ASCII total value for the word/phrase by finding the ASCII value of each
character and summing them up to give a total value.
You also need to find the longest word/phrase and the shortest word/phrase.
Note: The sentinel value MUST NOT be processed as a valid word/phrase.
Task 4 Once all words/phrases have been entered, your program should:
- Display the longest word/phrase with a meaningful identify message.
- Display the shortest word/phrase with a meaningful identify message.
- Calculate and display the combined total number of characters for both the longest and shortest
words/phrases with a meaningful identify message.
- Display each character of the longest word/phrase individually in upper case from the first character
to the last character (one character per line no identifying message here).
- Display each character of the shortest word/phrase individually in lower case from the last character
to the first character (reverse order one character per line no identifying message here).
- Create a new string that shows the longest word/phrase in reverse order and display this new string
(on one line) with a meaningful identifying message.
- Create a new string that includes every other character in the shortest word/phrase in reverse order
starting with the last character and display this new string (on one line) with a meaningful identifying
message.
- Generate a Holiday Histogram Chart
o This chart should have 2 entries along with the title.
o The first entry should be a line of asterisks (*) where there is one * for each character in the
longest word/phrase followed by a dash (-) and the number of characters that are in that
word/phrase.
o The second entry should be a line of asterisks (*) where there is one * for each character in
the shortest word/phrase followed by a dash (-) and the number of characters that are in that
word/phrase.
- Search for a Given Letter:
o Ask the user to enter a letter. Validate that the input is not blank.
o Once a valid letter has been entered, count the number of times that the given letter appears in
both the longest word/phrase and the shortest word/phrase. Count all occurrences of the letter
whether it is in upper- or lower-case.
o Display your results with a meaningful identifying message.
- Count the Number of Vowels:
o Determine the number of vowels that appear in the longest and shortest words/phrases. Both
upper- and lower-case versions of the vowels should be included in the count.
o Display your results with a meaningful identifying message.
All output lines should be formatted to include a meaningful literal that describes what is being displayed EXCEPT the
two tasks that display individual characters per line. Please use simple stuff like while loops. for example, (a) i =1 while i <10: if i %2==0: print(i)(b) i =1 while i <10: if i %2==0: print(i) i +=1(c) i =1 while i <10: if i %2==0: print(i) i +=1.(a) i =1 while i <10: if i %2==0: print(i)(b) i =1 while i <10: if i %2==0: print(i) i +=1(c) i =1 while i <10: if i %2==0: print(i) i +=1 sentinel values, user confirmation. do not use floating point values in the code. ord, chr, str functions can be used, escape sequences for special characters. use printing without the newline. You can use concatenation and repetition operators (*)(+).(a) i =1 while i <10: if i %2==0: print(i)(b) i =1 while i <10: if i %2==0: print(i) i +=1(c) i =1 while i <10: if i %2==0: print(i) i +=1 you cna use the in and not in operators. index, slicing operators can be used. search and counting substrings. converting strings. stripping whitespace characters from a string.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!