Problem Statement
Read five integers and print the sequence of prefix sums.
DEMO-OOP-33 โข Object Oriented Programming
Read five integers and print the sequence of prefix sums.
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
Prefix: 1 3 6 10 15
5 5 5 5 5
Prefix: 5 10 15 20 25
C, C++, Java, and Python run locally in a browser VM. No worker or visualizer is used.
/workspace/question