prompted for min value and validated with while loop

prompted for min value and validated with while loop