|
UMBC CMSC 201 Fall '05 CSEE | 201 | 201 F'05 | lectures | news | help |
while (condition)
{
...statements...
}
Write a program to add a list of numbers entered at the keyboard. The end of the input is indicated by entering 0 as a sentinel value.