write a function called which_vowels_present that takes a single string parameter. complete the function to return a list of strings indicating which vowels (a, e, i, o, and u) are present in the provided string. the case of the vowels in the original string doesn't matter, but they should be lowercase when returned as part of the list. the order of the vowels in the list doesn't matter. for example, if the provided string was 'all good people.', your code could return ['a', 'e', 'o']. it could also return ['e', 'o', 'a']. one way to implement this would be to use the filter pattern starting with the list of all vowels.

Answers

Answer 1

The function which_vowels_present will be implement using the Kotlin Programming language, also, a single for-loop is okay for the solution to this problem

//Here is the Algorithm for the problem

fun which_vowels_present(parameter: String) {

   for (c in parameter.toCharArray()) {

       when (c) {

           'a', 'e', 'i', 'o', 'u' -> print("$c")

       }

   }

}

Furthermore, to help us solve the problem, we took advantage of kotlin's in build string function that can convert a string array to Character array

Learn more:

https://brainly.com/question/14432459


Related Questions

Each of the following sentences from the youngest doll contains an example of magical realism except.

Answers

All of the options given contain an example of magic realism except: B. the aunt designs and crafts dolls as gifts for her nieces.

Magic realism is a genre of writing that incorporates myth into realities. In option B, we do not see an example of magic realism because there is no infusion of magic in the events narrated.

The aunt simply designed and crafted dolls for her nieces. This is purely realistic. There is no element of magic here.

Learn more about magic realism here:

https://brainly.com/question/840830

a student is standing 20 feet away from the base of a tree

Answers

What’s the question?

A student places a set of books with a force of 25 n on a lab table with a force of 150 n. What is the normal force pushing upward on the legs of the table?.

Answers

The normal force acting on the legs of the table is 175 N

The weight of the books is the force exerted by the books on the table, and it is given as:

[tex]W =25N[/tex]

The force exerted by the table is given as:

[tex]F = 150N[/tex]

The parameters above imply that:

The table and the books are stationary,The force exerted by both act in the same downward direction.

So, the normal force acting on the legs of the table is calculated as follows:

[tex]F_N =F +W[/tex]

Substitute known values

[tex]F_N = 150N + 25N[/tex]

[tex]F_N = 175N[/tex]

Hence, the normal force acting on the legs of the table is 175 N

Read more about normal force at:

https://brainly.com/question/10941832

Determine the molar mass of freon-11 gas if a sample weighing.

Answers

The mass of freon-11 gas is m=0.597g m = 0.597 g .

Amo a mis hermanas. Los amo. Amo las. Las amo. La amo.

Answers

La oración Amo a mis hermanas es equivalente a Las amo.

En esta pregunta debemos determinar la forma abreviada equivalente a la oración dada (Amo a mis hermanas), puesto que el complemento directo está asociado a un sujeto femenino en tercera persona del plural, se debe emplear un artículo definido femenino en plural (Las)

Por tanto, la oración Amo a mis hermanas es equivalente a Las amo.

Para aprender más sobre oraciones en español, invitamos cordialmente a ver esta pregunta verificada: https://brainly.com/question/2163428

Answer:

Amo a mis hermanas.

Los amo.

Amo las.

Las amo.

La amo.

ANSWER IS LAS AMO

Explanation:

The big five personality dimensions include all of the following except.

Answers

optimism

Explanation:

optimism is not one of the Big five

The big five personality dimensions include neuroticism, extroversion, and conscientiousness but optimism is not included within the five personality dimensions.

What do you mean by Personality dimension?

The personality dimension may be characterized as the next step in the evolution of temperament and personality theory. It significantly constructs a framework for mutual understanding between people. The big five personality dimensions are as follows:

Extraversion/Introversion.Sensing/Intuition.Thinking/Feeling.Judging/Perceiving. Conscientiousness.

In various research, personality dimensions are classified traits into five broad dimensions: openness, conscientiousness, extraversion, agreeableness, and neuroticism.

Therefore, the big five personality dimensions include neuroticism, extroversion, and conscientiousness but optimism is not included within the five personality dimensions.

To learn more about Personality dimensions, refer to the link:

https://brainly.com/question/29345665

#SPJ2

A varies jointly as of the product of b and c. If a = 24 when b = 8 and c = 2, find b when a = 48 and c = 4.

Answers

Variation can be direct, inverse or joint.

The value of B when a = 48 and c = 4 is 8

The joint variation is represented as:

[tex]A \ \alpha\ BC[/tex]

Express the variation as equation

[tex]A = kBC[/tex]

Make k the subject of the formula

[tex]k= \frac{A}{BC}[/tex]

If a = 24 when b = 8 and c = 2, we have:

[tex]k = \frac{24}{8 \times 2}[/tex]

[tex]k = \frac{24}{16}[/tex]

[tex]k = 1.5[/tex]

So, [tex]A = kBC[/tex] becomes

[tex]A = 1.5BC[/tex]

Make B the subject

[tex]B = \frac{A}{1.5C}[/tex]

When a = 48 and c = 4, we have:

[tex]B = \frac{48}{1.5 \times 4}[/tex]

[tex]B = \frac{48}{6}[/tex]

Divide

[tex]B = 8[/tex]

Hence, the value of B is 8

Read more about variation at:

https://brainly.com/question/11544031

Which phrase from the passage best helps the reader to identify the passage as a satire.

Answers

Answer:

can u please put a pic of the Passage so I can answer?

which interest group is an example of a single-issue interest group? everytown for gun safety national league of cities center for health & gender equity american civil liberties union (aclu)

Answers

Answer:

everytown for gun safety

Explanation:

got it right on edge 2021

It should be noted that the interest group is an example of a single-issue interest group is everytown for gun safety

According to the question, we are to discuss interest group and how it works and the example.

As a result of this we can discuss Interest group as special interest groups that are set up for various forms of advocacy  so they can influence public opinion.

Therefore, everytown for gun safety serves as example of a single-issue interest group.

Learn more about interest group at:

https://brainly.com/question/2203554

The perimeter of the figure below is 133.1 ft.
Find the length of the missing side.

Answers

Answer:

9.6

Explanation:

because if we did if we subtract the total number which is which we are giving 133.1 minus the total number is that the Debt term give us by him by the drawing it will give us 9.6 feet

9.6 ft because if you add all the sides then subtract by the actual perimeter then you get x= 9.6 ft

Which of the following processes requires molecular o2 as a reactant?.

Answers

The process that requires molecular oxygen as a reactant is: the Electron Transport System.

The Electron Transport System consists of a number of electron transporters in the inner mitochondrial membrane that are charged with moving electrons from the NADH and FADH₂ to molecular oxygen.

The final result of the electron transport system is the reduction of oxygen to water.

So, of all of the options provided, that which requires molecular oxygen as a reactant is the electron transport system.

Learn more about the electron transport system here:

https://brainly.com/question/12838824

These are the options:

(a) Glycolysis

(b) Lactic acid production

(c) Electron transport system

(d) Fermentation

(e) None of the above.

which of the following correctly describes the main purpose of the narrative in this paragraph? developing character creating conflict creating setting resolving conflict

Answers

The main purpose of the narrative in the paragraph is;

Option A; Creating setting

In this given paragraph, the author is making use of vivid language and good imagination to carefully describe the setting of the room. This description of the setting of the room means that the reader will have  a very clear picture of what the room used as character will look like.

The definition of setting simply means the nature of the time and the place that a particular thing took place. This means setting could take the form of a bright room, a dark tunnel, a cold car e.t.c

In conclusion, what the main purpose of the narrative of the paragraph is to create a setting.

The paragraph is missing and it is found in the brainly link below.

Read more about creating setting at; https://brainly.com/question/8208753

Answer:

Creating setting

Explanation:

If the speaker says, "we’re gonna go to paris in a few days, um, then we’re off to venice," you would caption it this way:.

Answers

The way the given speech could be captioned is that; We’re going to go to Paris in a few days, then we’re off to Venice.

From the given speech of the speaker, we can see that it is a direct speech as the exact words he used and the other words are all quoted in inverted commas.

Whereas, In indirect speech, the exact words used by the speaker are not quoted.

The best way to caption the speech is that the inverted commas will removed as well as well as the conjunction used and we will make it an indirect speech as follows;

We’re going to go to Paris in a few days, then we’re off to Venice.

Read more about direct and indirect speech at; https://brainly.com/question/14917133

Which is the best strategy when you find too much information.

Answers

Answer:

Ignore them, just like I have been ignoring your questions. Can't you answer any questions at all without posting them all on Brainly, or are you just too lazy to answer them?

When must a system of linear equations be solved algebraically.

Answers

Answer: The solution to a system of linear equations is the point at which the lines representing the linear equations intersect. Two lines in the x y xy xy -plane can intersect once, never intersect, or completely overlap.

Explanation:

When a cell needs to get rid of waste products and push them out of the cell.

Answers

Explanation:

Cells use both diffusion and osmosis to get rid of their wastes. Cells can bias the movement of waste molecules out of and away from themselves. One way is to temporarily convert the waste product into a different molecule that will not diffuse backwards.

A force of 5000n is applied outwardly to each end of a 5. 0-m long rod with a radius of 34. 0 cm and a young's modulus of 125 × 108 n/m2. The elongation of the rod is: phy101.

Answers

The elongation of the rod is [tex]5.51 \times 10^{-4}m[/tex]`

Young Modulus of a substance

The young modulus of a substance is the ratio of stress to the strain of material.

[tex]Modulus = \frac{Stress}{Strain}\\ Modulus =\frac{Fl}{Ae}[/tex]

where:

F is the applied force = 5000Nl is the length of the rod = 5.0mA is the cross-sectional area = [tex]\pi r^2 = 0.34^2 * 3.14 =0.362984m^2[/tex]

Required

Extension of the rod "e"

Substitute the given parameters into the formula to have;

[tex]e=\frac{Fl}{A \gamma} \\e=\frac{5000 \times 5}{0.362984 \times 125,00,000}\\e=\frac{25000}{45,373,000}\\e= 5.51 \times 10^{-4}m[/tex]

Hence the elongation of the rod is [tex]5.51 \times 10^{-4}m[/tex]`

Learn more on young's modulus here: https://brainly.com/question/6864866

Which two properties of equality could zoe use to finish solving for x? either the addition or subtraction property of equality either the multiplication or division property of equality either the addition or multiplication property of equality either the subtraction or division property of equality.

Answers

Zoe can solve the equation using (b)  either the multiplication or division property of equality

The equation is given as:

[tex]3x = -6[/tex]

Zoe can solve the equation as follows.

First, divide both sides of the equation by 3

This gives

[tex]\frac{3x}{3} = -\frac 63[/tex]

[tex]x = -2[/tex]

Also, the equation can be solved by multiplying both sides by 1/3.

This gives

[tex]3x \times \frac{1}{3} = -6 \times \frac{1}{3}[/tex]

[tex]x = -2[/tex]

Hence, Zoe can solve the equation using (b)  either the multiplication or division property of equality

Read more about properties of equations at:

https://brainly.com/question/1601404

Which food safety practice will help prevent biological hazards.

Answers

Answer:

Storing chemical away from food, removing pits and bones from food and washing hands before preparing food is a safety practice that will help prevent biological hazard

To prevent biological hazards hands should be washed, bones from food should be removed, and chemicals should be stored away from foods.

What is food safety practice?

Food safety practices are followed to prevent disease infections and hazards. The food should be prepared and stored in safe conditions so that the chances of contamination are reduced.

Hands should be properly washed to eliminate the infections through the bacteria and other organisms causing disease and illness. Proper hygienic and sanitized conditions should be maintained.

Learn more about food safety practices here:

https://brainly.com/question/13568818

#SPJ2

Alcohol affects the limbic portion of the brain by.

Answers

Answer: Impairments in emotional functioning that affect alcoholics may reflect abnormalities in other brain regions which also influence emotional processing, such as the limbic system and the frontal lobes.

The 232 people at a party decide to order pizza for a snack. If each pizza has 8 slices, how many pizzas should they order so that each person can have one slice?.

Answers

The number of pizzas should they order so that each person can have one slice is; 29 pizzas

We are given;

Number of people at the party; = 232 people

Number of slices in each ordered pizza = 8 slices

Now we want to find out the number of pizzas they should order so that each person can have one slice.

Thus,

Number of Pizzas to be ordered = 232/8

Number of pizzas to be ordered = 29 pizzas

Read more about sharing proportions at; https://brainly.com/question/109958

Using the periodic table of ions below to predict the charge of the following atoms.

Answers

The charge on GA, SR, As, Br, Se are 3+, 2+, 3+, -, 2- respectively.

Ga and Sr are metals

Br and Se are non metals

As is an amphoteric element

Sr has full electron shell and 2 electrons in the outermost shell making it

[tex] {sr}^{2 + } [/tex]

Ga has full electron shell and 3 electrons in the outermost shell making it

[tex] {ga}^{3 + } [/tex]

Br has 7 electrons in the outermost shell, so it needs one more electron to complete it's orbit making it

[tex] {br}^{ - } [/tex]

[tex] {br}^{ - } [/tex]Se has 6 electrons in the outermost shell, it needs two more electrons making it

[tex] {se}^{2 - } [/tex]

As can give 3 out of its 5 electrons as metals forming

[tex] {as}^{3 + } [/tex]

Therefore, the charge on GA, SR, As, Br, Se are 3+, 2+, 3+, -, 2- respectively.

Learn more about periodic table:

https://brainly.com/question/14514242

what is the ratio of the sun's gravitational force on you to the earth's gravitational force on you?

Answers

i believe it's 6:10000

Choose the best spanish equivalent to the phrase. It's snowing. Está nevando. Hace nieve. Nieve. Es nevando.

Answers

There are different kinds of phrase. The best Spanish equivalent to the phrase. It's snowing is called Está nevando.

A phrase is often describe as a group of two or more words that functions together but it does not become a clause.

Example ''Its snowing'' is a phrase. This phrase can never be a full sentence when it is on its own.

 

está means  itsnevando    means snowing

Learn more about Spanish phrase from

https://brainly.com/question/22412009?answeringSource=feedPublic%2FhomePage%2F19

Answer:

está nevando

Explanation:

11111111111111111111!!!!!!!!!!!!!!!!!

Answers

Answer:

B. Own Interests

Explanation:

B. Our own interests because it just sounds like the only factor you could think of to choose your own career

Explain the relationship between energy and economic development. Brainly.

Answers

consumption has a high positive correlation with economic growth. Whether economic growth takes precedence over energy consumption or energy consumption boosts the economic growth have been examined in a number of studies yet empirical evidence is mixed and conflicting.

In model 1 a pathogen (virus, bacteria, foreign protein, parasite) has entered the bloodstream of an individual. Draw the symbol that represents the pathogen.

Answers

There are different kinds of pathogens. The representation of the symbol that stands for the pathogen are;

The helper T-cell is represented like a Circle with the Th wrote inside.  

 The surface protein on the Th cell is the symbol that looks like this ⊥           or T Th cells.

Pathogens are known to be microorganisms that do invade the bloodstream. It can be easily see among the white cells.

Helper T-cell is known to consist of T-Lymphocytes which monitors the regulation of the immune system. T-cells are regarded as the helper cells that monitors the initial response in front of the pathogen. They includes; TH1, TH2, and TH17.

Learn more about pathogens from

https://brainly.com/question/8102979

Which of the following is not useful for changing the font size?.

Answers

There are different ways to change front size. The option that is not useful for changing the font size is Orientation button

The term font size simply means the overall shape of a specific character. It is often measured in points.

Example is 12-pt font, 11 pts etc.

Orientation is simply known to be a term that is used to show the positioning or general layout of an item linked to other items and not to change front type.

Which of the following is not useful for changing the font size?

answer choices

a.   Font Size drop-down list

b.   Increase Font Size button

c.    Decrease Font Size button

d.   Orientation button

Learn more about Front size from

https://brainly.com/question/24372153

When using a spreadsheet to prepare the statement of cash flows, a decrease in accounts payable is entered in the analysis of changes columns with a debit in the statement of cash flows section and a credit in the balance sheet section.

Answers

Answer:

is this an answer itself or a question you need to have answered?

Explanation:

The table below shows the number of protons, neutrons, and electrons in four ions.

Answers

The atom that has a charge of -1 is atom 3.

To get the net ionic charge, we will use the formula as shown:

Net ionic charge = Number of protons present in an ion + Number of electrons present in an ion.

For atom 1;

Net ionic charge =  9 - 9

Net ionic charge = 0

For atom 2;

Net ionic charge =  9 - 8

Net ionic charge = + 1

For atom 3;

Net ionic charge =  9 - 10

Net ionic charge = -1

For atom 4;

Net ionic charge =  9 - 9

Net ionic charge = 0

From the calculation above, the atom that has a charge of -1 is atom 3.

Complete question:

Given the table;

Atom                                (1)            (2)           (3)           (4)  

Number of protons          9              9            9             9              

Number of neutrons        8              9             9           10  

Number of electrons       9              8             10            9  

Based on the table, which atom has a charge of -1

Learn more about charge here: https://brainly.com/question/4145751

Other Questions
A Jeep Grand Cherokee costs about $45,000 right now. What would be the monthly payment if you could get a 60 month loan at 7.5% APR? Can you afford this? Which list below shows a way in which a 13-foot piece of pipe can be cut, to create 3 pieces that will form a triangle?1 ft, 3 ft, 9 ft3 ft, 3 ft, 7 ft2 ft, 3 ft, 8 ft2 ft, 5 ft, 6 ft All you need is on the photo Please don't answer randomly if you answer randomly you are gonna lose points Here is a diagram of the digestive system. Where do you think lactase would be most effective? Explain. Be sure to consider the amount of time lactose/food would spend in each area. -10 , -6 , -2 , 2 , _____ this sequence in an A.P.? why? The leakiest capillaries, which allow large substances and cells to cross the capillary wall, are called ________________. I need help with writing a case analysis report. can someone please be of help? Will mark brainliest!!!Read the excerpt from paragraph 1.We remember a time when the Potomac River was choked with algae. When Lake Erie was dying. When too many coastal waters were degraded. When too many urban rivers and beaches were open sewers. When too many communities didn't have clean, safe water they could depend on.Which two statements describe how Gore uses rhetoric to advance a point of view in this paragraph?He uses the bandwagon appeal to suggest that he is part of a group of people who are making good environmental choices.He uses ethos to establish credibility and build the audience's trust about his environmental expertise.He uses logos to build a reasonable argument about the importance of environmental policy.He uses parallelism to emphasize some of the environmental problems Americans had to solve.He uses figures of speech to encourage the audience to imagine new environmental futures.He uses pathos to provoke the audience's emotional response toward environmental problems. How do you know that an object in space is moving through the sky? rt gn (x-4) (x-3) -x(x+5) +82 Mrs. Hussen has two similar recycling bins in her office. The dimensions of the smaller bin can be found by dilating the dimensions of the larger bin by a scale factor of 0.75.ANSWER QUICKLY PLZ :) Human emotions can be primary or learned. A learned emotion is complex while a primary emotion is basic and instinctual. Which of the following is a primary rather than a learned emotion?A. fearB. guiltC. loveD. shameneed it for my exam Use the phrase from ex 2 to complete the sentence divers have discovered important PLS HELP ASAP ILL GIVE BRAINLKEST THANKS PLZZZZZZZZZZ HELP ASAPABC Order and Definitions1.React2.Shift 3.Specify 4.Thesis5.audience6.format 7.purpose8.introduction9.focus10.conclusion11.influence12.fleeting13.mentorship14.normal15.participate 16.positive 17.circumstantial18.emotional19.contagion20.fleetingExtra CreditWrite down 45 affixes containing the sufffix:-or-ment-ness HELLPPPPPP ASAP PLEASE I actually need help- which sentence is an example of stage directions? To test a new drug that has the potential of curing people of the commoncold a company asked human volunteers who were coughing and sneezingto participate in a clinical study. The objective of the experiment was to testwhether the new drug could cure the volunteers in the experimental group ofthe common cold. But instead of two groups, these volunteers were randomlydivided into three groups and treated as follows:GroupExperimentalGroupYesControlGroup 1NOControlGroup 2NoNew ONSOrangeBedreYesNoYesYesWhich of the following is the best explanation of why a second control groupwas included in this experiment?O A To prove that the common cold cannot be curedB. To provide the volunteers in the study with something to drinkO C. To help researchers conclude that results are related to the newdrug and not to the orange juiceO D. To confuse anyone who is trying to steal their new drug and sell itas their own invention what is the total tax a person or business has to pay called?