THIS DUDE REALLY NEEDS HELP

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.
Last edited on
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include <iostream>

using namespace 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;
}


Here's a simple structure to get you started :)
Last edited on
Topic archived. No new replies allowed.