Answer:
Ctrl + D used to duplicate a slide
The storage device which is not a long-term storage device is: D. RAM.
<h3>Types of computer memory.</h3>
In Computer technology, there are two (2) main types of memory or storage location for software program (application) that are being used on a computer and these include the following;
- Read only memory (ROM)
- Random access memory (RAM)
<h3>What is RAM?</h3>
RAM is an abbreviation for random access memory and it can be defined as a volatile and temporary storage (memory) location that is used for currently opened software program (application) and computer data.
In conclusion, we can reasonably and logically deduce that the storage device which is not a long-term storage device is random access memory (RAM).
Read more on RAM here: brainly.com/question/13748829
#SPJ1
integer userInput
integer i
integer mid
integer array(20) number
userInput = 1
for i = 0; userInput >= 0; i = i + 1
if number[i] > -1
userInput = Get next input
number[i] = userInput
i = i - 1
mid = i / 2
if i > 9
Put "Too many inputs" to output
elseif i % 2 == 0
Put number[mid - 1] to output
else
Put number[mid] to output
Answer:
The answer to this question is given below in the explanation section.
Explanation:
The iteration variable begins counting with 0 or 1.
As you know the iteration mostly done in the looping. For example, for loop and foreach loop and while loop, etc.
It depends upon you that from where you can begin the counting. You can begin counting either from zero or from one.
For example: this program counts 0 to 9.
<em>int total=0;</em>
<em>for(int i=0; i>10;i++)</em>
<em>{</em>
<em>total = total+i;</em>
<em>}</em>
Let's suppose, if you want to begin counting from 1, then the loop should look like below:
<em>int total=0;</em>
<em>for(int i=1; i>10;i++)</em>
<em>{</em>
<em>total = total+i;</em>
<em>}</em>