subject

2. What is the output of the following C++ code? (2, 3) int i = 1;
int num = 2;
while (i < 5)
{
num = num * i;
i = i + 1;
}
cout << "i = “ << i << " and num = " << num << endl;

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 22:30
What is the most popular genre of video games?
Answers: 1
question
Computers and Technology, 23.06.2019 06:20
Which text function capitalizes the first letter in a string of text? question 10 options: upper capital first proper
Answers: 1
question
Computers and Technology, 23.06.2019 10:50
Your friend kayla is starting her own business and asks you whether she should set it up as a p2p network or as a client-server network. list three questions you might ask to kayla decide which network to use and how her answers to those questions would affect your recommendation.
Answers: 2
question
Computers and Technology, 23.06.2019 19:30
What are loans to a company or government for a set amount of time
Answers: 1
You know the right answer?
2. What is the output of the following C++ code? (2, 3) int i = 1;
int num = 2;
while...
Questions
Questions on the website: 13722367