| UMBC CMSC 201 Spring '04 | CSEE | 201 | 201 S'04 | 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.