What is the output of the following code?

int a = 3, b = 2;
int c = 0;
while (c < 3)
{
a = a + b;
cout << a << “ “;
c = c + 1;
}
cout << b;

5 7 9 2

Computer Science & Information Technology

You might also like to view...

How have developers found ways around the limitations of HTML? Around browser limitations? Discuss the difference between plug-ins and helper applications, and how they are used to handle different files.

What will be an ideal response?

Computer Science & Information Technology

A list of items the project needs in order to meet the criteria that has been defined are called ____________________.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology