do loops are essentially same at while loops except that they will run at least once. All three types of loops can be converted into each other... Which one to choose?
C. Try this:
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.