Answer:
b) iteration.
Explanation:
There are various algorithms which are used in computer programming. Iteration is also a type of algorithm which is used to create loops. The instructions are inserted once and then these instructions are repeated to create a loop function.
Click interfering to move a stacked object to the top of the stack
Answer:
Mainframes
Explanation:
<em>Mainframes</em> are typically identified by their big size, high reliability, and massive processing power. One mainframe can replace a lot of small servers (running to hundreds) and work efficiently. Mainframes emphasize throughput computing because they can manage many high volume input/output (I/O) and can run multiple instances of Operating Systems (OS) concurrently.
Mainframes are mostly used by large organizations that carry out activities that require a high volume of data processing. Some of these data can be transaction processing, enterprise resource analysis, customer and industry stats, census among others.
Due to their reliability and stability, mainframes can run for a long time without any form of interruption and are very useful in cloud data centers.
Answer:
see explaination
Explanation:
#include <iostream>
#include <vector>
using namespace std;
void vector_sort(vector<int> &vec) {
int i, j, temp;
for (i = 0; i < vec.size(); ++i) {
for (j = 0; j < vec.size() - 1; ++j) {
if (vec[j] > vec[j + 1]) {
temp = vec[j];
vec[j] = vec[j + 1];
vec[j + 1] = temp;
}
}
}
}
int main() {
int size, n;
vector<int> v;
cin >> size;
for (int i = 0; i < size; ++i) {
cin >> n;
v.push_back(n);
}
vector_sort(v);
for (int i = 0; i < size; ++i) {
cout << v[i] << " ";
}
cout << endl;
return 0;
}