Answer: 1. Use the Windows key + P keyboard shortcut.
2. Using the “Project” flyout, select the PC screen only option.
3. Open Settings.
Click on Display.
Under the “Select and rearrange displays” section, select the monitor that you want to disconnect.
Select monitor on Windows 10
Under the “Multiple displays” section, use the drop-down menu and select the Disconnect this display option.
You will have to pay a late fee
Answer:
#include<iostream>//library inclusion
using namespace std;
int main()
{
int userInput;
do//start of do while loop
{
cout << "Enter a number less than a 100" << endl;
cin >> userInput;
if (userInput < 100) //condition
{
cout << "YOu entered less than a hundred: " << userInput << endl;
}
else
{
cout << "your number is greater than 100" << endl;
}
} while (userInput > 100);//condition for do while
return 0;//termination of int main
}
Explanation:
The program has been commented for you. The do-while loop enters the first loop regardless of the condition. Then after the first iteration, it checks for the condition. If the condition is being met, it will iterate through, again. Otherwise it will break out of the loop and land on the "return 0;" line. Which also happens to be the termination of the program in this case. The if-else condition is used for the user to see when prompted.