Using the knowledge in computational language in mathlab it is possible to write a code that while loop that continues to increment uservalue by 5 as long as uservalue is less than 0.
<h3>Writting the code:</h3>
<em>function </em><em>userValue </em><em>= IncreaseValue(userValue)</em>
<em>while(userValue<0)</em>
<em>userValue = </em><em>userValue</em><em>+5;</em>
<em>end</em>
<em>end</em>
<h3>How to run a code in MATLAB?</h3>
To run: If inside the Editor window: on the toolbar choose the Run icon; or in the Debug menu choose the Run option; or press F5. If the file is saved in memory, just type its name in the command window.
See more about mathlab at brainly.com/question/12975450
#SPJ1
Answer:
1. a late breaking news story = to inform
2. a poetry reading = to entertain
3. an advertisement = to persuade
4. a small group assignment = to collaborate
Explanation:
1. A "breaking news" tells people of what is happening in the society. It <em>informs </em>them of the occurrence of an important event such as the plane crash of Kobe Bryant.
2. Poetry reading is meant to touch the attention of listeners. It tries to entertain them through the poem's interesting verses.
3. An advertisement is being shown/displayed in order to convince people to buy a particular product or service.
4. A group assignment allows the members of the group to contribute their ideas together. Such situation is known as "collaboration." They try to brainstorm together towards a common goal.
Answer:
B) To package a repeated task as a function even though the task does not yield a value
Explanation:
The purpose of a function that returns "void" is to package a repeated task as a function even though the task does not yield a value. Since the function does not return any value, it control returns to the caller.