Answer:
D. all the above
Explanation:
because doctor uses stethoscope to listen patients heart, he also used hammer to check patients reflexes and also doctor has to listen to the patient.
D) Alt Tags thats the answer i think
Answer:
#include <iostream>
#include <cstdlib>
using namespace std;
int main() {
int[] array = new int[10];
int index = 0;
while(index < array.size()){
int number = (rand() % 100) + 1;
for (int i = 0; i < 1; i++) {
array[index] = number;
cout<< "Position "<< index << "of the array = "<< number << endl;
++index;
}
}
}
Explanation:
The while loop in the source code loops over a set of code ten times, The for loop only loops once to add the generated random number between 1 and 100 to the array of size 10. At the end of the for loop, the index location and the item of the array is printed out on the screen. The random number is generated from the 'rand()' function of the C++ standard library.
Answer:
The answer is below
Explanation:
There are various reasons to apply arrays in a program. Some of which includes:
1. Arrays provides users to easily save specified numbers of the element in them.
2. It easily store data of similar types and sizes.
3. It allows users to store data in various dimensional arrays.
4. It eliminates deficit of memories for the location of its elements