Use the following code to answer the next 8 questions (4 through 11). Line numbe
ID: 3607465 • Letter: U
Question
Use the following code to answer the next 8 questions (4 through 11). Line numbers have been indicated as comments on the left of the code. /*1/ include /*2+/ #include /*3*/ using namespace std *4/ void numbers (int ints , ints , ints /5*/ int main() /7 int numberentered, numb_zeros-o, numb_odds-o, numb_evens-0: *8ifstream datain; 9 datain.open ("numbers.txt") 10 datain numberentered; /11 while (!datain.eof )) 12 13*/ numbers (numberentered, numb_zeros, numb_odds, numb evens) datain>numberentered; 15 /+16/ coutExplanation / Answer
7 b. line/*4*/ only
8 b. false
void function does not return anything
9 c.function call
10 c. There were 3 zero numbers, 6 odd numbers. and 5 even numbers in the file.
11 b. object(variable) declaration
12 b. pretest
eg while
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.