Write a program that asks the user for a word or phrase

Assignment Help Computer Engineering
Reference no: EM132208316

Write a program that asks the user for a word or phrase and then prints out the number of vowels in the word or phrase.

We will considervowels to be only the letters a, e, i, o, and u.

We will not consider the lettery to be a vowel. Remember to handle both uppercase and lower case letters.

You program should contain at least 2 methods: the main method and a method for counting the number of vowels

. If you get the first part working, modify your program to allow the user to enter multiple words. Use a sentinel value such as the letter 'q' or the word "quit' to signal the end of user input.

Reference no: EM132208316

Questions Cloud

Explain the chemistry of water : Explain the chemistry of water. Why water important in biological systems? Define anabolism and catabolism, discuss how they relate to homeostasis and survival
Calculate the labour force participation rate : Calculate the Unemployment Rate. Show calculations. Show work. Calculate the Labour Force Participation Rate. Show work.
Creative problem definition challenge : Creative Problem Definition Challenge assume the position of the executive director of the facility asked to define the problem as accurately as possible
Write the function-like macro testbit : Write a program that asks the user for an integer value (may be negative) and that outputs the bit pattern for that integer.
Write a program that asks the user for a word or phrase : Write a program that asks the user for a word or phrase and then prints out the number of vowels in the word or phrase.
Write the program for atm machine and show that it works : The user should enter the amount desired (a multiple of 10 dollars) and the machine dispenses this amount using the least number of bills.
Contrast the given views with mercantilism : Contrast these views with mercantilism. Cite primary sources from the early mercantilist philosophers. You can find a list of mercantilist philosophers.
Why lung cancer cluster in a family for non-genetic reasons : One of the most devastating diseases in American communities today is lung cancer. Discuss why lung cancer might cluster in a family for non-genetic reasons
Encrypt the contents of the file and put the results : Write a program that allows users to encrypt files. We will implement two simple encryption methods.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Specify the output that you will get when you run program

In the main method and after calling the function, print the variable num. Specify the output that you will get when you run the program.

  Questionmicroprocessor - motorola 68k assembly language1

questionmicroprocessor - motorola 68k assembly language1. hardware an 8 bit printer port is at location 2000. cpu will

  Which component would provide the best return on

When selecting a new computer, identify the key components that drive the performance of the machine.

  How does web change security for the internet

Much has been made of the new Web 2.0 phenomenon, including social networking sites and user-created mash-ups. How does Web 2.0 change security.

  Convert the hexadecimal numbers to binary

Convert the following hexadecimal numbers to binary, then add them togather (assume you have an 8 bit processor that uses 2' compliment representation). : -

  What are the primary functions of the ir policy

What are the primary functions of the IR Policy? What characteristics must be present if an adverse event is to be considered an incident?

  Select four standard corporate executive positions and

question 1.choose four standard corporate executive positions and describe their role on the it steering

  Write an assembly program that will examine an input string

Write an assembly program that will examine an input string. Assume that a string does not include more than one line.

  Write a method public static void downsize

Write a method public static void downsize(LinkedList employeeNames, int n) that removes every nth employee from a linked list.

  Formulate a debugging strategy

Formulate a debugging strategy. What module should be debugged first, what inputs should you use, what outputs should you expect to see? How should you begin to integrate the modules? What should you do on failure?

  Implement a client-server-based internet application

Implement a client-server-based Internet application - write your programs in the C language. Python and Java implementations are also acceptable.

  Develop an outline of the project plan for the testing

As part of the disaster recovery planning at a medium-sized business, you have been asked to develop a project plan to test the backups of production systems.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd