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
miss Akunina [59]
2 years ago
11

b. Write a complete program for the following situation related to setting the speed of a car to preset values before starting a

journey: • If speed is less than lower_ set_ speed, display the message "accelerate" to the screen, increase the car's speed to the lower set speed, and output the new speed to the screen. • If speed is greater than upper_set_speed, print the message "apply brake" to the screen, decrease the car's speed to the upper set speed, and output the new speed to the screen. • Give all necessary documentation in the comments, including the file name. • Allow the program to exit at the end. • Output the speed to the screen. • How many different initial speeds will you need to test this code?
Mathematics
1 answer:
Oksi-84 [34.3K]2 years ago
4 0
Answer:4

Explanation:
You might be interested in
If two triangles are congruent, which of the following statements must be true?
PSYCHO15rus [73]

Answer:

The correct options are A, B, C and D.

Step-by-step explanation:

A figure said to be congruent if:

Two figures are said to be congruent if they have same size and same shape.

If two figure are congruent that means the corresponding sides will also be congruent.

If two figure are congruent that means the the corresponding angles will also be congruent.

Now consider the provided option.

By the above definition it is clear that all the options are correct.

Hence, the correct options are A, B, C and D.

7 0
3 years ago
Read 2 more answers
Solve for p: -9 + p &lt; 15 <br> A. p &gt; 24 B. -p &gt; 6 C. p &lt; 24 D. -p &lt; -6
Soloha48 [4]

Answer:

C.  In the given expression -9 + p < 15 , the value of p <  24.

Step-by-step explanation:

Here, the given expression is :

-9 + p < 15

Now, solving for the value of p.

If equals are added to both sides of inequality, the inequality remains unchanged.

Now, -9 + p < 15

⇒  -9 + p  + 9 < 15  + 9                                  (adding +9 on both sides)

or,  p <  24

Hence, in the given expression -9 + p < 15  the value of  p <  24.

5 0
3 years ago
Solve the given inequality.<br> -x -8 &gt; 2x + 9
k0ka [10]

Answer:

x < −17/3

Step-by-step explanation:

Put in comments if needed explanation

7 0
3 years ago
Identify the domain of the function shown in the graph. HELP​
pochemuha
A is the answer domain is the x
7 0
3 years ago
fritz wrote a set of related facts for the array below.which equation is not intended in the set of related facts for this array
oksian1 [2.3K]
Do you have the equation choices?
7 0
3 years ago
Other questions:
  • The distance from 0 on a number line represents the _____________ of the number.
    15·1 answer
  • Which of these pairs of events are independent?
    8·1 answer
  • What is the coefficient in the expression x-27?
    8·1 answer
  • How do you write 2.745 in words?
    11·1 answer
  • .6988271188 as fraction
    6·1 answer
  • Can someone help with this please
    13·2 answers
  • Please help meeee PLEASEE no links :(
    11·2 answers
  • 10 times as much as 72.67
    6·1 answer
  • How many minutes are in 3 5/12hours?
    8·1 answer
  • Will give brainliest answer
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!