Ask Question

Which value can be entered to cause the following code segment to display the message: "That number is acceptable." int number; cin >> number; if (number > 10 && number < 100) cout << "That number is acceptable./n"; else cout << "That number is not acceptable./n";

+2
Answers (1)
  1. 4 January, 17:18
    0
    11 & 99

    Explanation:

    if (number > 10 && number < 100)

    if number is 11 to 99

    if user press any number in between them or 11, 99

    then cout will be

    "That number is acceptable."
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “Which value can be entered to cause the following code segment to display the message: "That number is acceptable." int number; cin >> ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers