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]
3 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]3 years ago
4 0
Answer:4

Explanation:
You might be interested in
Evaluate the expression when x = 32 and y = 2 x/4y<br> a. 1/16<br> b. 16/21<br> c. 2<br> d. 4
ohaa [14]
32/4 (4)
32/16 = 2

it is c. 2
4 0
3 years ago
Read 2 more answers
Did you mean: a dolphin was swimming 28 meters below the ocean's surface it changed its depth to avoid a predator and ended up 2
Vesna [10]

Answer:

yes

Step-by-step explanation:

5 0
3 years ago
2 The value of y is directly proportional
rusak2 [61]

Answer:

y = 17.5

Step-by-step explanation:

Given that y is directly proportional to x then the equation relating them is

y = kx ← k is the constant of proportion

To find k use the condition y = 35 when x = 140, then

35 = 140k ( divide both sides by 140 )

0.25 = k

y = 0.25x ← equation of proportion

When x = 70, then

y = 0.25 × 70 = 17.5

4 0
3 years ago
What’s four times a number (algebra wise)
3241004551 [841]

Answer:

4x

Step-by-step explanation:

6 0
3 years ago
Samuel saved some money for a new phone, but then he spent $24 of his savings on a
Goryan [66]

Answer:

213$

Step-by-step explanation:

24$ on headphones

189$ left

so you add the use and what is left an u get 213$ do not forget to write $ when u are finished :)

4 0
2 years ago
Other questions:
  • 16-x=7x please help solve this
    13·2 answers
  • What is the slope of the line between (3,-4) and (-2, 1)? (1 point)
    10·2 answers
  • Each band member had 12 tickets to sell to the spring concert.
    7·2 answers
  • A cellular phone company charges a 49.99 dollar monthly fee for 600 free minutes. Each additional minute costs 35 cents. This mo
    8·1 answer
  • How do you write 3x-y=14 in slope intercept form
    5·1 answer
  • Suppose we are interested in bidding on a piece of land and we know one other bidder is interested. The seller announced that th
    15·1 answer
  • Please answer this for me correctly. THANK YOU!!
    9·1 answer
  • Anthony receives $12 in allowance every week.He currently has $492 saved.How many weeks has he been saving?
    9·1 answer
  • If 5p=70 2-302, then the value of p is
    15·1 answer
  • What are the y-intercept and the horizontal asymptote of g(x) = 3x + 4?
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!