Ceh9_N
New member
- Joined
- Oct 14, 2022
- Messages
- 1
- Programming Experience
- Beginner
The user enters integers from the keyboard (numbers are entered alternately,
the user enters a number and presses "Enter"). The sequence of numbers ends
by entering the value "0". Count the number of even and odd numbers,
number of positive and negative.
Requirements
1. set Unicode encoding for the console;
2. in case of errors in entering values (for example, instead of
number, the user will enter letters, or a fractional number), display an error message and
ask the user to enter the same value again;
3. Display the result of the program on the screen
the user enters a number and presses "Enter"). The sequence of numbers ends
by entering the value "0". Count the number of even and odd numbers,
number of positive and negative.
Requirements
1. set Unicode encoding for the console;
2. in case of errors in entering values (for example, instead of
number, the user will enter letters, or a fractional number), display an error message and
ask the user to enter the same value again;
3. Display the result of the program on the screen