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
larisa86 [58]
2 years ago
5

C++ Question: what is in the blanks?

Computers and Technology
1 answer:
Igoryamba2 years ago
8 0

You didn't specify what the program should output, so there are many possibilities that result in a working program. It *looks* like this was intended:

int x = 24;

int y;

y = x-12;

cout<<y<<endl;

and it will display 12.

You might be interested in
Write a statement that compares the values of score1 and score2 and takes the following actions. When score1 exceeds score2, the
vaieri [72.5K]

Answer:

player1Wins = player1Losses = player2Wins = player2Losses = tieCount = 0

score1 = 10

score2 = 10

if score1>score2:

   player1Wins=player1Wins+1

   player2Losses=player2Losses+1

   print("player1 wins")

elif score2>score1:

   player2Wins=player2Wins+1

   player1Losses=player1Losses+1

   print("player2 wins")

else:

   tieCount=tieCount+1

   print("tie")

Explanation:

Since your indentation can not be understand what you give us, please try to do it as you see in the answer part.

Although it seems that this is a part of the code, it is normal that you get errors. However, since you keep track of the variables, it is better to initialize the variables that will keep the counts. Since initially, they are 0, you may set them as 0. Also, if you assign the values to the scores, probably you would not get any error. This way, you may test your code as I did.

Other than these, in the else part you do not need to write "score1=score2", because if score1 is not greater than score2 and if score2 is not greater than score1, this already implies that they are equal

8 0
3 years ago
An _____ is a narrow strip of land connecting two larger land areas.
inessss [21]

Answer: isthmus

Explanation:

5 0
3 years ago
HELP ASAP WILL GIVE BRAINLY Question 19 Multiple Choice Worth 5 points) (05 03 MC) Network technologies specialist Hannah has be
nasty-shy [4]

Network technologies specialist Hannah would need to configure: C. RIP version 2 using Internet Protocol Version 4 (TCP/IPv4).

<h3>What is RIP?</h3>

RIP is an acronym for Routing Information Protocol and it can be defined as an intradomain routing protocol which is typically designed and developed based on distance vector routing.

<h3>The types of RIP.</h3>

In Computer networking, there are two main types of Routing Information Protocol (RIP) and these include:

  • RIP version 1.
  • RIP version 2.

RIP version 2 are generally designed and developed to include subnet masks unlike RIP version 1. Thus, Hannah would need to configure RIP version 2 using Internet Protocol Version 4 (TCP/IPv4) allow several machines on different subnets to communicate with each other using broadcasts.

Read more on routing protocol here: brainly.com/question/24812743

4 0
2 years ago
Change the screen resolution so you can view more information on your screen. Use the resolution that enables you to fit the mos
Gennadij [26K]

Answer:

If you are on Windows 10, all you need to do is to right-click on the desktop, and finally select the "Display Settings". And over there you will be able to view various attached displays, and the resolution that you require is going to be exactly here, and as an example, the best resolution for your monitor is 3840 x 2160.

Explanation:

Please check the answer section.

7 0
2 years ago
What category of software makes it possible to run other programs on the computer?
liubo4ka [24]

Answer:

C

Explanation:

3 0
2 years ago
Other questions:
  • Which of the following actions should you take when turning left at an intersection?
    11·1 answer
  • All of the different devices on the internet have unique addresses.
    11·1 answer
  • Suppose that you created an robot that was so advanced it could act independently in very complex situations. It made its own de
    9·1 answer
  • Describe how layers in the ISO reference model correspond tolayers in the TCP/IP reference model.
    11·1 answer
  • Pls help me
    5·1 answer
  • A byte contains how many bits? Question 3 options:
    13·2 answers
  • Is the process of modifying something to make it fit certain criteria.
    11·1 answer
  • Application area of word processor?​
    8·2 answers
  • Ano ang dalawang paraan sa paggawa ng abono?​
    6·1 answer
  • How to make a 'Sign in with replit' button in replit (Node.js) will make brainliest
    12·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!