/* INTRO19.C--Example from Chapter 4 of User's Guide */

#include <stdio.h>

int main()
{
   int number = 1, total = 0;
   while (number < 11) {
      total += number;
      number++;
   }
   printf("Total of numbers from 1 to 10 is %d\n", total);

   return 0;
}
