1. Engineering
  2. Computer Science
  3. 3 10 pts what is the outcome of the following...

Question: 3 10 pts what is the outcome of the following...

Question details
  1. 3. (10 pts) What is the outcome of the following code?
    int x = 0;
    while ( x = 2 && x <10) {
       cout << x << endl;
       x+=2;
     }
Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution