Sample program for finding the total of 1, 2, 3, ..., 10.