I got stumped can someone please help ?
I’m working on this home work assignment and can’t get past this point.
Here is how far I’ve got:
#include <iostream>
#include <iomanip>
using namespace std;
using std::cout;
using std::cin;
using std::endl;
int main()
{
int numbers,to,Enter,odd,even;
int integer,positive,a;
cout << " Enter a positive integer(0 to quit):";//0
cout << " Enter a positive integer(0 to quit):";//0
cin >> integer >>;
cout << "The total of the odd numbers entered is:";//0
cout << "The total of the even numbers entered is:";//0
cin >> Enter a positive integer(0 to quit):1;
cout << " 1 is odd";
cin >> Enter a positive integer(0 to quit):2;
cout << " 2 is even";
cin >> Enter a positive integer(0 to quit):3;
cout << " 3 is odd";
cin >> Enter a positive integer(0 to quit):4;
cout << " 4 is even";
cin >> Enter a positive integer(0 to quit):0<< endl
return 0;
}
And there is an attachment of the assignment: