1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Gekata [30.6K]
1 year ago
13

Q5

Engineering
1 answer:
Klio2033 [76]1 year ago
5 0

The C++ code that would draw all the iterations in the selection sort process on the array is given below:

<h3>C++ Code</h3>

#include <stdio.h>

#include <stdlib.h>

int main() {

   int i, temp1, temp2;

   int string2[16] = { 0, 4, 2, 5, 1, 5, 6, 2, 6, 89, 21, 32, 31, 5, 32, 12 };

   _Bool check = 1;

   while (check) {

       temp1 = string2[i];

       temp2 = string2[i + 1];

       if (temp1 < temp2) {

           string2[i + 1] = temp1;

           string2[i] = temp2;

           i = 0;

       } else {

           i++;

           if (i = 15) {

               check = !check;

           }

       }

   }

   

   return 0;

}

Read more about C++ programming here:

brainly.com/question/20339175

#SPJ1

You might be interested in
A coil with an average diameter of 5 inch will have an area of ""blank"" square meters
nadezda [96]

Answer:

19.64 square inches

Explanation:

Area will be (¶d^2)/4

= (3.142 x 5^2)/4

= 19.64 square inches

8 0
3 years ago
The minimum requirements for engineering documents are enumerated in
vladimir1956 [14]

Answer:

The answer will be Rule 61G15-23 F.A.C, relating to Seals.

Explanation:

According to the description given by: Florida administrative code&Florida administrative register the Minimum requirements for engineering documents are in the section 'Final 61G15-23'  from 11/3/2015. This document provides specifications of materials required for the safe operation of the system that is the result of engineering calculations, knowledge and experience.

8 0
3 years ago
What’s the difference between quality and quantity
Lesechka [4]
Quality is how good something is. Like how good the material is. Like the quality of the IPhone X is better than the quality of the iPhone 6s + because it has more features and can sustain better hold
Quantity is how much. Like the quantity of the m&ms were split evenly.
I dont know exactly if that makes sense but there ya go
YW!
4 0
3 years ago
Read 2 more answers
The alternator produces direct current, which is changed to alternating current by the diodes.
exis [7]

Answer:

False

Explanation:

<u>Alternat</u>or produces <u>alternat</u>ing current  ....diodes convert this to direct current

8 0
2 years ago
A polyethylene rod exactly 10 inches long with a cross-sectional area of 0.04 in2 is used to suspend a weight of 358 lbs-f (poun
Nadya [2.5K]

Answer:

Final length of the rod = 13.90 in

Explanation:

Cross Sectional Area of the polythene rod, A = 0.04 in²

Original length of the polythene rod, l = 10 inches

Tensile modulus for the polymer, E = 25,000 psi

Viscosity, \eta = 1*10^{9} psi -sec

Weight = 358 lbs - f

time, t = 1 hr = 3600 sec

Stress is given by:

\sigma = \frac{Force}{Area} \\\sigma = \frac{358}{0.04} \\\sigma = 8950 psi

Based on Maxwell's equation, the strain is given by:

strain = \sigma ( \frac{1}{E} + \frac{t}{\eta} )\\Strain = 8950 ( \frac{1}{25000} + \frac{3600}{10^{9} } )\\Strain = 0.39022

Strain = Extension/(original Length)

0.39022 = Extension/10

Extension = 0.39022 * 10

Extension = 3.9022 in

Extension = Final length - Original length

3.9022 =  Final length - 10

Final length = 10 + 3.9022

Final length = 13.9022 in

Final length = 13.90 in

7 0
3 years ago
Other questions:
  • Thermoplastics burn upon heating. a)-True b)- false?
    14·1 answer
  • Water circulates throughout a house in a hot water heating system. If the water is pumped at a speed of 0.50m/s through a 4.0-cm
    5·1 answer
  • A 10-mm steel drill rod was heat-treated and ground. The measured hardness was found to be 290 Brinell. Estimate the endurance s
    14·1 answer
  • To test the effects of a new fertilizer, 100 plots were divided in half. Fertilizer A is randomly applied to one half, and B to
    13·2 answers
  • Select the correct answer.
    5·1 answer
  • The application of technology results in human-made things called
    9·1 answer
  • It is the tool used to measure the amount of electric current​
    6·2 answers
  • When removing a diesel engine from a truck, Technician A says it is OK to disconnect an air con­ditioning hose, but the refriger
    8·1 answer
  • True or false for the 4 questions?
    8·1 answer
  • NO SCAMS
    9·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!