Answer:
See explaination
Explanation:
#include <iostream>
using namespace std;
void SelectionSortDescendTrace(int numbers[], int numElems) {
int maxInd;
for (int i = 0; i < numElems - 1; ++i) {
maxInd = i;
for (int j = i; j < numElems; ++j) {
if (numbers[j] > numbers[maxInd]) {
maxInd = j;
}
}
int temp = numbers[i];
numbers[i] = numbers[maxInd];
numbers[maxInd] = temp;
for (int j = 0; j < numElems; j++) {
cout << numbers[j] << " ";
}
cout << endl;
}
}
int main() {
int numbers[10];
int numElements = 0;
for (int i = 0; i < 10; i++) {
cin >> numbers[i];
if (numbers[i] == -1)
break;
++numElements;
}
SelectionSortDescendTrace(numbers, numElements);
return 0;
}
Answer:
One of the biggest changes for businesses is the communication technology enabled by the internet. The way people communicate with one another, share files, make purchases, and collaborate has completely shifted since the internet became widespread.
Explanation:
The kind of wire and circuit breaker are: grounding wire such as fairly large bare copper wire.
<h3>What is the best wire for the above?</h3>
A 20A, 120V small-appliance branch circuit is known to be used in the case above.
Note that Electric range circuits needs about 50-amp, 240-volt made for circuit that is said to supplies the power to the range or oven via a 6-3 electrical wire.
Learn more about circuit breaker from
brainly.com/question/8976395
#SPJ1
Answer:
Explanation:
The following code is written in Python. It creates a variable that detects the current time. Then it loops through a range of numbers and chooses the last random number after 2 seconds. Finally, it prints that number to the screen. This function can be called countless times depending on the number of state lottery numbers needed.
import random
import time
start_time = time.time()
while time.time() - start_time < 2:
lottery_number = random.randint(0, 48)
print(lottery_number)