![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 10.02.2020 22:22 deannajd03
Write an expression that executes the loop while the user enters a number greater than or equal to 0.
Note: These activities may test code with different test values. This activity will perform three tests, with userNum initially 9 and user input of 5, 2, -1, then with userNum initially 0 and user input of -17, then with userNum initially -1. See "How to Use zyBooks". .
Also note: If the submitted code has an infinite loop, the system will stop running the code after a few seconds, and report "Program end never reached." The system doesn't print the test case that caused the reported message.
#include
using namespace std;
int main() {
int userNum;
userNum = 9;
while (/* Your solution goes here */) {
cout << "Body" << endl;
cin >> userNum;
}
cout << "Done." << endl;
return 0;
}
![ansver](/tpl/images/cats/User.png)
Answers: 1
![](/tpl/images/ask_question.png)
![](/tpl/images/ask_question_mob.png)
Another question on Computers and Technology
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 06:50
Match the personality traits with their description
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 19:20
How might the success of your campaign be affected if you haven’t carefully completed all field data or if you accidentally insert the wrong merge field in the document?
Answers: 2
![question](/tpl/images/cats/informatica.png)
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](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2019 03:00
With editing, word automatically displays a paste options button near the pasted or moved text. a. cut-and-paste b. drag-and-drop c. inline d. copy-and-carry
Answers: 1
You know the right answer?
Write an expression that executes the loop while the user enters a number greater than or equal to 0...
Questions
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/himiya.png)
Chemistry, 02.12.2020 20:20
![question](/tpl/images/cats/biologiya.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 02.12.2020 20:20
![question](/tpl/images/cats/mat.png)
Mathematics, 02.12.2020 20:20
![question](/tpl/images/cats/mat.png)
Mathematics, 02.12.2020 20:20
![question](/tpl/images/cats/obshestvoznanie.png)
![question](/tpl/images/cats/biologiya.png)
![question](/tpl/images/cats/obshestvoznanie.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 02.12.2020 20:20
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/en.png)
English, 02.12.2020 20:20
![question](/tpl/images/cats/himiya.png)
![question](/tpl/images/cats/fr.png)
French, 02.12.2020 20:20
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/en.png)
English, 02.12.2020 20:20
![question](/tpl/images/cats/mat.png)
Mathematics, 02.12.2020 20:20
![question](/tpl/images/cats/fizika.png)
![question](/tpl/images/cats/pravo.png)
Law, 02.12.2020 20:20
![question](/tpl/images/cats/mat.png)
Mathematics, 02.12.2020 20:20