I need help to write a C program that performs the following. The user inputs a number and then enters a series of numbers from 1 to that number. Your program should determine w