Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

At Part A: Ask the user to keep entering words as long as the user does not write stop. Record the user Input as a

image text in transcribed
At Part A: Ask the user to keep entering words as long as the user does not write "stop". Record the user Input as a string or array element (your choice) by appending them to the current varlable. (Hint: use - operator for appending to srings) Note: Make sure to Include the user-entered "exit in your analysis for Part B Note: Using Arrays wil get you 10 points of extra credit if done correctly Part B: Ooo the user enters "oxir, then the program should display tho following menu: A. Diaplay the total number of vords entered by the user Display all the words entered by the user c. Display the total number of times the letter "e" occurS D. Display the total number of words with more the onee" E. Diaplay all the words in lowercase F. Display all words in uppercase G. Display if a certain word was entered by the user H. Exit Print a goodbye statement for the user to indicate the end of the program. Option Details: Option A; Displays the total number of words entered. Option B: Displays all the words the user entered. Option C: Displays the total number of times the letter "e" occurs in all of the words entered. Option D: Displays the total number of words with more the one "e" occurrence. Option E: Displays all the words in lowercase. Option F: Displays all the words in uppercase. Option G: Asks the user to enter a word and then display if it the word was entered previously or not Option H: Exits the Program. The program should only exit when the user chooses to exit using this option. Note: Remember to include input validation! If the user, enters an option that is not valid (A-H) it should be handled accordingly

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Current Trends In Database Technology Edbt 2006 Edbt 2006 Workshops Phd Datax Iidb Iiha Icsnw Qlqp Pim Parma And Reactivity On The Web Munich Germany March 2006 Revised Selected Papers Lncs 4254

Authors: Torsten Grust ,Hagen Hopfner ,Arantza Illarramendi ,Stefan Jablonski ,Marco Mesiti ,Sascha Muller ,Paula-Lavinia Patranjan ,Kai-Uwe Sattler ,Myra Spiliopoulou ,Jef Wijsen

2006th Edition

3540467882, 978-3540467885

Students also viewed these Databases questions

Question

What are the benefi ts of dialogue?

Answered: 1 week ago

Question

How do you add two harmonic motions having different frequencies?

Answered: 1 week ago