Problem
1. Write a do loop that reads integers and computes their sum. Stop when reading a zero or the same value twice in a row. For example, if the input is 1 2 3 4 4, then the sum is 14 and the loop stops.
2. What does the SentinelDemo.java program print when the user immediately types -1 when prompted for a value?