Problem Statement
Read five integers into an array, rotate the array left by one position, and print the result.
DEMO-OOP-33 โข Object Oriented Programming
Read five integers into an array, rotate the array left by one position, and print the result.
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.
1 2 3 4 5
Rotated: 2 3 4 5 1
9 8 7 6 5
Rotated: 8 7 6 5 9
C, C++, Java, and Python run locally in a browser VM. No worker or visualizer is used.
/workspace/question