- 1

where, q 2. a data entry operator has to enter some records in integer form in an ascending order but by mistake he has entered

where, q 2. a data entry operator has to enter some records in integer form in an ascending order but by mistake he has entered it in random fashion. now you write a java program using a method with array return type and correct his mistake with storing the integers in ascending order. sample input: first take an input from user how many records he wants to enter? then take the inputs from user: suppose inputs are: 12, 32, 45, 11, 89, 56, 43 sample output: your output should be 11, 12, 32, 43, 45, 56, 89

4th Feb 2021, 5:32 PM
Shaurya Garg
Shaurya Garg - avatar
1 Answer