i am a beginner in c++ and i have an assignment. i need to make C++ program that will accept N numbers, and display its sum, the smallest value and largest value, as well as the number of odd and even inputs. I need to do it in looping. I really don't know what to do. Thank you for the help guys.
example of the output:
How many numbers? 5
1. Enter a number: 12
2. Enter a number: 10
3. Enter a number: 25
4. Enter a number: 30
5. Enter a number: 20
Sum: 97
Smallest value: 10
Largest value: 30
Even Inputs: 4
Odd Inputs: 1