Problem Statement
Read five integers and a target value, then print the first index where the target appears, or -1 if it does not appear.
DEMO-OOP-33 โข Object Oriented Programming
Read five integers and a target value, then print the first index where the target appears, or -1 if it does not appear.
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.
3 8 2 9 1 9
Index: 3
4 5 6 7 8 4
Index: 0
C, C++, Java, and Python run locally in a browser VM. No worker or visualizer is used.
/workspace/question