Question: Question 2 c ( 8 ) The program given below gives the output below. Fill in the missing code and write down only the answer

Question 2c
(8)
The program given below gives the output below. Fill in the missing code and write down only the answer for each of the questions 2.c.1 to 2.c.8. Remember to number your answers.
The output:
Please enter 10 integers, positive, negative, or zeros.
The numbers you entered are:
2
7
-4
-3
0
7
4
0
-9
-4
There are 6 evens, which includes 2 zeros.
The number of odd numbers is: 4
#include ciostream
using namespace st:
const int LIMIT =2c.
8
?Int main()
1
2 c .2
counter:
int number:
int seros =0;
int odds =0; int
evens =0 s
Question 2c
(8)
The program given below gives the output below. Fill in the missing code and write down only the answer for each of the questions 2.c.1 to 2.c8. Remember to number your answers.
The output:
Please enter 10 integers, positive, negative, or zeros.
The numbers you entered are:
2
-4
-3
0
7
4
0
-9
-4
There are 6 evens, which inclades 2 teros.
The number of odd numbers is: 4
Ainclude =2C.1
int main ()
2c.2 counter;
int number;
int zeros =0;
int odds =0; int
evens =0
cout "Please enter " LIMIT " integers, "
"positive, negative, or zeros." endl;
cout "The numbers you entered are:" endl:
Question 2 c ( 8 ) The program given below gives

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!