subject
Engineering, 01.05.2021 04:40 iamabeast51

A line of students are arranged in odd and even positions. Now the students in the odd positions are to be sorted in the descending order and the students in the even position are to be sorted in ascending order, given a 1 D array. The maximum length of the line is 20. Display – ‘Invalid Size’, if the input specified is zero or negative. Write an algorithm to implement the above scenario.

ansver
Answers: 2

Another question on Engineering

question
Engineering, 04.07.2019 19:20
Air at a pressure of 1atm and a temperature of 40 c is in parallel flow over the top surface of a flat plate that is heated to a uniform temperature of 120 c. the plate has a length of 0.40m (in the flow direction) and a width of 0.15m. the reynolds number based on the plate length is 50, 000. what is the rate of heat transfer from the plate to the air? if the free stream velocity of the air is doubled and the pressure is increased to 10 atm what is the rate of heat transfer?
Answers: 2
question
Engineering, 04.07.2019 19:20
Asimple speed reducer is composed of 2 spur gears. the pinion gear has a pitch diameter of 0.75" and 36 teeth while the driven gear has a pitch diameter of 4.0" and 192 teeth. a)-what is the diametral pitch of each gear? b)-if an electric motor rotating ccw at 3000 rpm is coupled to the pinion, what is the rotational speed of the driven gear? c)-if the torque delivered to the pinion is 1 n-m, what is the torque on the driven gear? d)-what is the power transmitted by the gear train?
Answers: 1
question
Engineering, 06.07.2019 03:10
Explain the strain-hardening phenomenon on the basis of dislocation - dislocation strain field interactions. also, briefly describe what generally happens to the ductility of a metal that has been strain hardened (i.e. does strain hardening make a metal more ductile or
Answers: 3
question
Engineering, 06.07.2019 03:20
What is the strain energy stored in a solid uniformly circular shaft of length 3.0 m and diameter 120 mm when subject to pure torsion if the maximum shear stress is 40 mpa? g-80gpa
Answers: 1
You know the right answer?
A line of students are arranged in odd and even positions. Now the students in the odd positions are...
Questions
question
Mathematics, 27.10.2020 08:30
question
Mathematics, 27.10.2020 08:30
Questions on the website: 13722363