#include <stdio.h>

/* Terry Harvey CISC105 Section 21 TA Aaron*/

/* 
 * Sample program from class for generating a sequence of numbers.
 */

int main(){

    int count = 1;
    int factor;

    printf("Enter a factor: ");
    scanf("%d", &factor);

    while (count <= 10){
        printf("count is %d\n", factor * count);
        count = count + 1; 
        /* could also be written: count += 1; or count++;*/
    }

    return 0;
}
