1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
uysha [10]
4 years ago
12

Which value can be entered to cause the following code segment to display the message "That number is acceptable."

Computers and Technology
1 answer:
AnnZ [28]4 years ago
8 0

Answer:

We can give the any  integer value between 10 to 100 then it display the message "That number is acceptable."

Explanation:

In the given code the "number" variable takes an user input via cin .After taking user input it check the condition of if block that the user input is between the range of 10 to 100 .if this condition is true then the statement of if block will be executed i.e  That number is acceptable otherwise else block will be executed That number is not acceptable.

following are the code in c++

#include <iostream> // header file

using namespace std;

int main() // main

{  

   int number; // variable

cin >> number; // taking input

if (number > 10 && number < 100) // if block

cout << "That number is acceptable.";

else

cout << "That number is not acceptable.";

return 0;

}

Output:

66

That number is acceptable.

456

That number is not acceptable.

You might be interested in
Do you agree that technology is always at the advantageous side wherein it only results in good things?
Crazy boy [7]

Answer:

No, think about mass surveillance in China (and in USA!), and the "social credit" system.

4 0
3 years ago
The first version of Windows to have automatic updates from the Internet was _____.
kipiarov [429]

Answer:

Windows 95

<em>Hope this helps ^-^</em>

<em>-Isa</em>

7 0
3 years ago
What is the name of the the world cell of the internet?​
irga5000 [103]

Answer:

mobile web is the the world cell of internet

7 0
3 years ago
What is the first step you should take when you want to open a savings account?
pav-90 [236]
 First Go to the bank
Second Present Photo ID
 third Fill out application

I would think review the different savings account options that your bank offers...

Last Make initial deposit.



Hope that helps!!!

.
5 0
3 years ago
How to learning algothrim bett
Stells [14]
The GCSE Computing MOOC (created with Cambridge University Press and Raspberry Pi) can be used either as a course or a flexible teaching resource,
8 0
3 years ago
Other questions:
  • If a secret key is to be used as a _________ for conventional encryption a single number must be generated.
    13·1 answer
  • The term median means
    9·2 answers
  • It is safe to stand on the top step of a ladder provided it is braced property
    10·1 answer
  • What feature is available to add a suggestion in the margin of someone else's document?
    7·1 answer
  • If you decide to get married, a trade-off would be that you have to give up being single.
    12·2 answers
  • Outputting all combinations. Output all combinations of character variables a, b, and c using this ordering abc acb bac bca cab
    7·1 answer
  • This innovator created “honeypots” in which fake accounts are set-up in order to catch cybercriminals: Jeremiah Onaolapo
    6·1 answer
  • a term to describe article that can be displayed in their entirety as opposed to abstract and reference only?​
    10·1 answer
  • Python Question Class 11 attached below
    9·1 answer
  • Which of the following is a document view you can select using Button on the status bar?
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!