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
Likurg_2 [28]
3 years ago
6

c++ Write a statement that increments (adds 1 to) one and only one of these five variables: reverseDrivers parkedDrivers slowDri

vers safeDrivers speeders. The variable speed determines which of the five is incremented as follows: The statement increments reverseDrivers if speed is less than 0, increments parkedDrivers if speed is less than 1, increments slowDrivers if speed is less than 40, increments safeDrivers if speed is less than or equal to 65, and otherwise increments speeders.
Computers and Technology
1 answer:
Mazyrski [523]3 years ago
7 0

Answer:

The following statement are:

if(speed < 0) // if statement

{

reverseDrivers++; //if the speed is less than 0, then increment in "reverseDrivers"

}

else if(speed < 1) //else if statement

{

parkedDrivers++; //speed is less than 1, than increments in "parkedDrivers"

}

else if(speed < 40)

{

slowDrivers++; //speed is less then 40, than increment in "slowDriver"

}

else if(speed <= 65)

{

safeDrivers++; //speed is less than or equal to 40, then increment in "safeDriver"

}

else

{

speeders++; //else increment in speeders

}

Explanation:

From the following statement their are certain condition arises

If the speed is less than 0, then increments the “reverseDrivers” variable by 1.

If the speed is less than 1, then increments the “parkDriver” variable by 1.

If speed is less than 40, then increment in "slowDriver" variable by 1.

If speed is less than or equal to 40, then increment in "safeDriver" variable by 1.

Otherwise increment in "speeders"

You might be interested in
U.S. cybersecurity experts and government officials are increasingly concerned about breaches from __________ into corporate net
Triss [41]

Answer:

Organized crime syndicates based in the United State

Explanation:

U.S. cybersecurity experts and government officials are increasingly concerned about breaches from organized crime syndicate based in the United States into corporate networks, either through mobile devices or by other means.

The crime syndicate can go to any length to access corporate network through mobile device or any other means in order to commit crimes that is why the US cyber security expert and government officials are increasingly concerned.

Cyber security specialists or expert in the US are been employed to protect information or data that the crime syndicate may want to gain access to by using different variety of techniques by critically monitoring the systems network for attempted breaches by the crime syndicates and then dealing with any of them that is found guilty.

5 0
3 years ago
To use a jQuery UI widget, you must code two things in the way that’s prescribed for the widget. What are they?
Natasha2012 [34]

Answer:

the jQuery code and the jQuery UI selectors.

Explanation:

When we want to use jQuery UI widget we have to code two things and these are the jQuery code and the jQuery UI selectors. jQuery UI is a managed set of user interface(UI) effects,interactions,themes and widgets built on top of  JavaScript jQuery Library.

So we have to code the jQuery and the jQuery UI selectors.

3 0
3 years ago
What does the hot end of a 3D printer do?
Alex Ar [27]

Answer:

The hot end is where the heated filament comes out and moves across the print bed to create your 3D object! ... Different materials may print best at different temperatures so the sensor is important and it's temperature can be set with your slicing program.

Explanation:

7 0
3 years ago
Tanner has had many different jobs. He previously designed the playscape at the local park with natural rocks, creeks, and veget
zavuch27 [327]
I think it would be Design. 
3 0
3 years ago
Read 2 more answers
You have decided to remove a recently installed feature which method can you use to remove this feature
Aliun [14]
If it is on the desktop screen you just right click on the icon and select delete. from there if you're on a windows computer it goes to your recycle bin then you right click the recycle bin and a little rectangle pops up an in that rectangle it says clear recycle bin and once you press that all of the stuff that was in there is deleted. now if your on a computer that has chrome os installed you just go to the files screen and right click what you want to delete and click delete and it's gone. 
6 0
3 years ago
Other questions:
  • How can I print an int as a char in C?
    13·2 answers
  • Explain the design and development proccess?
    15·1 answer
  • Blood alcohol level is the ratio between the alcohol consumed and the blood in the body
    10·1 answer
  • If a website ends with .gov does it mean that its written by the government or?
    11·2 answers
  • WILL MARK BRAINIEST
    12·1 answer
  • What is networking and types of networking?​
    6·1 answer
  • Why is it NOT a good practice to save everything on the desktop?
    6·2 answers
  • What is the purpose of this parallelogram shape in a flowchart?
    15·1 answer
  • State four reasons why office automation is adopted in business establishment?​
    7·1 answer
  • VI. Differentiate between systems SUIwal unu up
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!