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
Help with ALGEBRA pls! picture included
Dahasolnce [82]
The answer is B (i used the app Photomath)
4 0
4 years ago
Find the median value of 1,1,1,2,2,2,2,3,3,4,4,5​
alex41 [277]
Find the middle number if there is an even amount of numbers take the two middle numbers add them together in divide them by two


In this case it would be 2+2=4 ÷2= 2

Two is the median
8 0
4 years ago
I need help with this question please!!!
stealth61 [152]

Answer:

Step-by-step explanation:

Each point of function b(x) is shifted by rule

x -----> ( x - 2 )

and

y -----> (y + 3)

( - 1.5, 0) ------> (- 3.5, 3)

(- 1, - 1) -----> ( - 3, 2)

(0, - 2) ------> ( - 2, 1)

(1, - 1) -----> ( - 1, 2)

(2, 3) -----> (0, 6)

(4, 7) -----> (2, 10)

......

5 0
3 years ago
If f(x)= 2(3x²-2x+2). Find:<br><br>A) f(x+1)<br>B) f(3)​<br>C) f(y-2)
ExtremeBDS [4]
A) f(x+1) = 6x^2 + 8x + 6
1) substitute the value of x as (x+1)
2) 2(3(x+1)^2 -2(x+1) +2)
3) 6(x^2 + 2x + 1)
4) 6x^2 + 8x + 6

B) f(3) = 46
1) simplify the expression first
2) 6x^2 -4x + 4
3) Now just substitute 3: 6(3)^2 -4(3) + 4
4) 6•9 - 12 + 4 = 46

I hope this helps :)
8 0
3 years ago
To get the 10% discount, a shopper must spend at least $200.
Liula [17]

Answer:

d\geq \$200

Step-by-step explanation:

we know that

To get the 10% discount, a shopper must spend at least $200

so

Let

d ------> represent the spending (in dollars) of a shopper who gets the discount

therefore

The value of d must be greater than or equal to $200

d\geq \$200

5 0
3 years ago
Other questions:
  • A box of cereal contains 13 1/2 cups of cereal. Maria's children eat 1 1/2 cups of cereal each day. how many days will the box o
    13·1 answer
  • What is the lateral area of this regular octagonal pyramid?(PICTURE ONE)
    6·2 answers
  • Whats the definition of a circle?
    12·2 answers
  • Simplify the expression. Type your answer in the blank -|-13|=
    14·2 answers
  • Vowels to consonants in RATIO​
    15·2 answers
  • The width of a rectangle is 12 units. Can the perimeter x of the rectangle can be 60 units when its length y is 18 units?
    9·1 answer
  • 38) In quadrilateral RTWU below, RT - RU and TW - WU
    6·1 answer
  • Domain range inequality
    10·1 answer
  • Find the midpoint of the segment AB with coordinates A(4, 3/4) and B(-2, 1/4).
    9·1 answer
  • A scale on a map shows that 2.5 centimeters represent 15 kilometers.
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!