Problem Statement
Read five integers, sort them in ascending order using bubble sort, and print the sorted sequence.
DEMO-OOP-33 โข Object Oriented Programming
Read five integers, sort them in ascending order using bubble sort, and print the sorted sequence.
Input is given as whitespace-separated tokens in this order:
Print the exact report in this order:
Submit runs every public testcase in this browser. Results and code never leave this device.
5 2 4 1 3
Sorted: 1 2 3 4 5
9 8 7 6 5
Sorted: 5 6 7 8 9
C, C++, Java, and Python run locally in a browser VM. No worker or visualizer is used.
/workspace/question