/* Peter Cline June 18
   Testing while loops (counter loops)

*/

#include <stdio.h>

int main()
{
  int count = 0; // counter variable
  int lower, upper;

  printf("Please enter the lower bound: ");
  scanf("%d", &lower);
  printf("Please enter the upper bound: ");
  scanf("%d", &upper);

  count = lower;

  while ( count <= upper ) 
  {

    printf("%d ", count);

    count = count + 1;
  }
  printf("\n");

  return 0;
}
