Show the printout of the following code:

```
#include
using namespace std;

void xFunction(int i)
{
do
{
if (i % 2 != 0)
cout << i << " ";
i--;
}
while (i >= 1);

cout << endl;
}

int main()
{
int i = 1;
while (i <= 5)
{
xFunction(i);
i++;
}

cout << "i is " << i;

return 0;
}
```

Computer Science & Information Technology

You might also like to view...

An advantage to using templates is the designer's ability to lock down key parts of the page design while still enabling others to maintain the content.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

In B1 input: 3 In B2 input: 3 =AVERAGE(B1:B2,5,7) will be

A. 4 B. 3.5 C. 3 D. 2 E. 4.5

Computer Science & Information Technology