subject
Engineering, 01.05.2021 16:50 sophiaa23

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: 1

Another question on Engineering

question
Engineering, 04.07.2019 03:10
What precautions should you take to prevent injuries when dealing with heavy loads?
Answers: 1
question
Engineering, 04.07.2019 18:10
Aflywheel accelerates for 5 seconds at 2 rad/s2 from a speed of 20 rpm. determine the total number of revolutions of the flywheel during the period of its acceleration. a.5.65 b.8.43 c. 723 d.6.86
Answers: 2
question
Engineering, 04.07.2019 18:10
Give heat transfer applications for the following, (i) gas turbines (propulsion) ) gas turbines (power generation). (iii) steam turbines. (iv) combined heat and power (chp). (v) automotive engines
Answers: 1
question
Engineering, 04.07.2019 18:10
Compute the pressure drop of 30°c air flowing with a mean velocity of 8 m/s in a circular sheet-metal duct 300 mm in diameter and 15 m long. use a friction factor, f 0.02, and pair = 1.1644 kg/m a. 37.26 pa b. 25.27 pa n c. 29.34 pa d. 30.52 pa
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
Biology, 03.10.2019 00:30
question
Mathematics, 03.10.2019 00:30
question
Physics, 03.10.2019 00:30
question
Health, 03.10.2019 00:30