subject

I need help ASAP!!! Write a program that asks a user for their first name and then tells them which vowels are found in it. If a vowel is found, also include the first index of the letter.

For example, if a user inputs the following:

What is your first name?: Michaelangelo

The following output should be given:

There is an a in your name, first found at index 4

There is an e in your name, first found at index 5

There is an i in your name, first found at index 1

There is an o in your name, first found at index 12

Note: You should use a function in your program.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 19:30
Write a function processpeople() that takes the name of a file as a parameter. each line of the file corresponds to information about a person. in particular a line contains either a name (in the form lastname,firstname with no spaces in it) or a name (lastname,firstname) and a year. the function will process the file, creating a person object for each line in the file. the function will print information about each line as it processes it, as well as appending the new person object into a list. make sure to use person methods to display information rather than recreating the work you did for the first problem. once the entire file has been processed, the function returns the list of person objects created from the file. if the file is empty, the function should return an empty list. if the input file cannot be opened, the function should print a message to that effect and then return an empty list. the following shows what would be displayed for two example files which have been provided in the link. the file none.txt does not exist. note that your function must work on an arbitrary file that consists of valid lines. you cannot assume anything about the file except that it contains lines that have the format described above.
Answers: 2
question
Computers and Technology, 22.06.2019 10:50
A911 dispatcher is the sole sender of messages to all police officers. while on patrol, officers communicate with the dispatcher who, in turn, relays messages to other officers. the officers do not communicate directly with one another. this illustrates a network.
Answers: 1
question
Computers and Technology, 22.06.2019 15:30
To increase sales, robert sends out a newsletter to his customers each month, letting them know about new products and ways in which to use them. in order to protect his customers' privacy, he uses this field when addressing his e-mail. attach bcc forward to
Answers: 2
question
Computers and Technology, 22.06.2019 15:30
When creating a budget, log fixed expenses before income. after income. after savings. at the top.
Answers: 1
You know the right answer?
I need help ASAP!!! Write a program that asks a user for their first name and then tells them whic...
Questions
question
Mathematics, 03.05.2020 13:49
question
Mathematics, 03.05.2020 13:49
question
Biology, 03.05.2020 13:49
Questions on the website: 13722360