Write a program that prompts the user to input (word/statement), Accepts only letters. The program then:...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Write a program that prompts the user to input (word/statement), Accepts only letters. The program then: 1. Remove all the vowels from the (word /statement) then output the (word /statement) without vowels. 2. Outputs the number of vowels. 3. Convert the lowercase vowels letters to uppercase and vice versa. Conditions: 1. Use only (while Or do-while loop). 2. Do everything outside the main function except declarations. Sample run: Output: Enter any word/statement: Final Exam 1) Final Exam FInAl exam 2) Fnl xm without vowels. 3) Final Exam contains 4 vowels, which is/are: i, a, e Write a program that prompts the user to input (word/statement), Accepts only letters. The program then: 1. Remove all the vowels from the (word /statement) then output the (word /statement) without vowels. 2. Outputs the number of vowels. 3. Convert the lowercase vowels letters to uppercase and vice versa. Conditions: 1. Use only (while Or do-while loop). 2. Do everything outside the main function except declarations. Sample run: Output: Enter any word/statement: Final Exam 1) Final Exam FInAl exam 2) Fnl xm without vowels. 3) Final Exam contains 4 vowels, which is/are: i, a, e
Expert Answer:
Answer rating: 100% (QA)
Heres a simple Python program that fulfills your requirements using a while loop def processwordword ... View the full answer
Related Book For
Posted Date:
Students also viewed these computer network questions
-
Carrico Advertising Inc. performs advertising services for several Fortune 500 companies. The following information describes Carrico's activities during the current year. a. At the beginning of the...
-
Suppose you are going to apply for a summer job. Compose a rsum which highlights your education, work experiences, and other qualifications for a job that you prefer. CAREER OBJECTIVE EDUCATION WORK...
-
To make telephone numbers easier to remember, some companies use letters to show their telephone number. For example, using letters, the telephone number 438-5626 can be shown as GET LOAN. In some...
-
Abbey Company completed the annual count of its inventory. During the count, certain items were identified as requiring special attention. Decide how each item would be handled for Abbey Company's...
-
The Cash account of Guard Dog Security Systems reported a balance of $2,540 at December 31, 2018. There were outstanding checks totaling $400 and a December 31 deposit in transit of $100. The bank...
-
How many millimoles of solute are contained in (a) 2.95 mL of 0.0789 M KH2PO4? (b) 0.2011 L of 0.0564 M HgCl2?
-
Refer to Exercise 5. a. Is the multiple regression equation useful for prediction? Explain. Use the = 0.05 level. b. Is the multiple regression equation useful for prediction? Explain. Use the =...
-
Based on your reading and knowledge from other sources, in what ways has the phenomenon of the Internet influenced office automation?
-
What are the strategic implications of disruptive technologies such as blockchain, quantum computing, and advanced robotics on traditional business models, and how can firms proactively adapt their...
-
Mendina, Incorporated produces an advanced type of coffee maker. Information about the coffee maker is below: Total Variable Cost at 200 units Total Cost per Unit Sales Price Target Profit Volume...
-
1. ERP implementation - A Journey. 2. Understand various phases involved in ERP Implementation. a. Understanding what is working and What is not.b. Researching Industry Best Practices.c. Collecting...
-
Amelia stood on a ladder. Her eyes were 9 feet above the ground. On the ground, a lizard was a horizontal distance of 10 feet away from Amelia. What is the angle of depression from Amelia's eyes to...
-
the foot of an extension ladder is 9 ft from a wall. the height that the ladder reaches on the wall and the length of the ladder are consecutive integers. how long is the ladder?
-
You have rolled copper sheets (one by 50%, the other by 90%) and recrystallized samples from them at 650\deg C and 700\deg C for the same length of time. a) Sketch the appearance of the four...
-
The product of a number and 3 less than the number is 4. Find the number.
-
Security Consultant Suffers Cyberattack Deloitte is one of the biggest professional services compa-nies in the world based on both revenue ($38.8 billion in 2017) and number of professionals (over...
-
b) c) State TWO (2) types of 'Production Cost'. Identify THREE (3) types of Inventory. The schedule below provides information for Sapura Manufacturing Sdn Bhd. Based on data provided, construct the...
-
Research corporate acquisitions using Web resources and then answer the following questions: Why do firms purchase other corporations? Do firms pay too much for the acquired corporation? Why do so...
-
Create two parallel arrays that represent a standard deck of 52 playing cards. One array is numeric and holds the values 1 through 13 (representing Ace, 2 through 10, Jack, Queen, and King). The...
-
Assume that you have created an object named myObject and that a working program contains the following statement: output myObject.getSize() Which of the following do you know? a. getSize() is a...
-
A file named MAINTENANCE11-01.txt is included with your downloadable student files. Assume that this program is a working program in your organization and that it needs modifications as described in...
-
The following MINITAB output presents a multiple regression equation y = b0 + b1x1 + b2x2 + b3x3 + b4x4. It is desired to drop one of the explanatory variables. Which of the following is the most...
-
For a sample of size n = 15, the following values were obtained: b0 = 3.71, b1 = 8.38, se = 1.13, (x x)2 = 7.71, x = 13.16. Construct a 95% prediction interval for an individual response when x = 8.
-
A _______________ interval estimates the y-value for a particular individual with a given x-value. In Exercises 3 and 4, fill in each blank with the appropriate word or phrase.
Study smarter with the SolutionInn App