i am a noob in c++ and i need help in this problem. I have to Create a c++ program that will accept the 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 only. thank you so much for your help guys.
#include <iostream>
usingnamespace std;
int main() {
//Create a variable for input
//Create a dynamic variable
//Create a variable for sum
cin >> input;
while (input != decidedNumber ) //Decide on value for the user input if you want the program to exit
{
}
system("pause");
return 0;
}