Ask Question
7 October, 19:13

Suppose that the content of the input file is: 14 13 26 8 - 11 36 0 - 1. What is the output of the following code? ifstream myInfile; myInfile. open ("input. txt"); int value; int sum = 0; for (int x = 0; x > value; if (value % 2 = = 0) sum = sum + value; } cout << sum << endl;

+4
Answers (1)
  1. 7 October, 19:32
    0
    I do not know, i really hope you dont fail!
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “Suppose that the content of the input file is: 14 13 26 8 - 11 36 0 - 1. What is the output of the following code? ifstream myInfile; ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers