Returns a list of the index positions

Assignment Help Basic Computer Science
Reference no: EM132184266

What is a function that takes as input a string and returns a list of the index positions of all the vowels in the word.  A vowel is defined as any letter in "aeiouAEIOU".  Use this function in a program that prompts the user for a word or phrase and outputs the index positions of all the vowels. Make the program user friendly. You must NOT print the index positions as a list. Instead, the index positions should be printed one per line as shown below.

For example, the program may execute as follows:

Please enter a word (or phrase) and I will tell you where the vowels are: Hello WORLD!!

The vowels are at positions:




Reference no: EM132184266

How abstraction and encapsulation enable evolutionary chang

Now make a more complex change. The bank will allow a fixed number of free transactions (deposits or withdrawals) every month, and charge for transactions exceeding the free

Create a driver class to instantiates-updates several object

Create a driver class called FlightTest whose main method instantiates and updates several Flight objects. Two classes are required for this project: Flight and FlightTest

What is a reasonable lifetime to use for the keys ka and why

For the protocol in Section 173, how might an attacker be able to learn KA before it times out? What bad things would the attacker be able to do with that knowledge? What ba

Two aspects of data management

There are essentially two aspects of data management: data definition and data manipulation. Data definition is operationalized by way of data definition languages (DDL).

Imperative devices on the planet today

Database applications are a standout amongst the most imperative devices on the planet today, particularly given the noteworthiness of information systems. Utilizing the Int

Determine smallest value of x for which is safe state

System has 4 processes and 5 allocatable resources. The current allocation and maximum needs are as follows: Determine the smallest value of x for which this safe state.

Find the downward force

The downward force in newtons equals the mass of the child and the swing in kilograms times the acceleration due to gravity (9.8 meters per second squared). If the mass of t

Main reasons why visualization technologies are important

Determine the main reasons why visualization technologies are becoming an important part of organizational success. Select two (2) such technologies related to information s


Write a Review

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