Write a C program that accepts a list of numbers from the user until a
number is repeated (i.e., is the same as the number preceding it). The
program then prints out the number of numbers entered (excluding the
last) and their sum. When the program is run, the prompts and
responses will look like the following:
Number: 5
Number: -6
Number: 0
Number: 45
4 numbers were entered and their sum is 44
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here