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
Gabriel needs to create a formula that does not change when it is copied to cell b2. which formula should he create?
azamat
=sum(1+1)  it's a simple formula and won't change from any cells. Another you can do is to put a value in a specific cell, let's say, C3. Then have a formula that says, =sum(C3+2). But if you REALLY wanna impress someone - put a value in A1 - anything at all. Then put this formula in any other cell you want. If you change cells, you get a different answer. If you change the # in A1, you get different answers, all thanks to the RANDom function.  =SUM((RAND()*100)+A1)

4 0
4 years ago
What best Describes algorithm bias
blagie [28]

Answer:

E

Explanation:

cause e

8 0
3 years ago
This is the term popularly used to describe fixing errors in a computer program.
Setler79 [48]
C) Debugging. Debugging is when you fix the errors in your code
5 0
3 years ago
Read 2 more answers
I really need help with this question, I can’t fail this please :) tysm
Maurinko [17]

Answer:

i think its the third one, i hope this helps

Explanation:

4 0
4 years ago
What should an administrator use to more easily assign database access permissions to multiple users?
Kruka [31]

Answer:

to allow administrators to assign rights and permissions to multiple users

Explanation:

8 0
3 years ago
Other questions:
  • What is the name of the process that is used to establish whether or not a user’s identity is legitimate?
    7·1 answer
  • The number of pixels displayed on the screen is known as ________.
    14·1 answer
  • List three examples of observations of earth by remote-sensing satellites
    6·1 answer
  • How many address bits are needed to specify each byte in a 512 byte memory unit?
    5·1 answer
  • Which best describes the differences between a resume and a CV?
    13·2 answers
  • write a function that given an integer Y and 3 non-empty string A,B,W, denotingthe year of vacations, the beginning month, the e
    5·1 answer
  • The metric unit used for length
    5·1 answer
  • An L2 cache with 64-byte lines, 4 ways, and 4096 sets, for a machine with 40-bit physical addresses. How many bits of an address
    12·1 answer
  • PLEASE ANSWER
    6·1 answer
  • Joining a computer to active directory involves joining the computer to a workgroup. True or false.
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!