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.
B) output device
bc you’re using them to listen to something
There's MANY things that count as computer issues.
1) when your computer freezes.
2) When your computer runs slow.
3) when your computer takes hours to download, but never does.
4) Glitches (that can lead to crashes).
5) it could be an internal server error.
Need more or this good?
Answer:
D) Java class libraries are not portable
Explanation:
The Java Class Library (JCL) is an array of enthusiastically loadable libraries that Java applications can identify and refer to at run time. Since the Java Platform is independent of any particular operating system, applications can’t depend on any of the platform-native libraries.
The library is a massive collection and works of prebuilt classes that is distributed through the Java SE platform.
Answer:
the domain is example.com. the path is /homepage
Explanation: