A sorting algorithm that sorts data in ascending order can be used to sort data in
descending order
a. Never.
b. Only if the algorithm is modified.
c. Only if the algorithm is inverted.
d. Given the proper data.
e. None of the above.
b
Computer Science & Information Technology
You might also like to view...
What is the output of the following statement? (In this question # signifies a blank space.)
cout << setw (6) << left << “hello” << setw(6) << right << 2.78; a) #hello2.78## b) #hello2.78### c) hello###2.78 d) hello####2.78
Computer Science & Information Technology
Assume that all variables in the following code are properly declared and that the input is 3 7 4 -1. The output is 13.num = console.nextInt();sum = num;while (num != -1){ num = console.nextInt(); sum = sum + num;}System.out.println(sum);
Answer the following statement true (T) or false (F)
Computer Science & Information Technology