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
Which value of x is in the domain of f(x) = square root of x-5
Gelneren [198K]
The answer is A. x= 5
3 0
3 years ago
Find the slope of the line.
ira [324]
There it is i found it :)

7 0
3 years ago
Read 2 more answers
Lowest common multiple of 6 and 10
BigorU [14]
30 I think because 6 12 18 24 30 and 10 20 30
6 0
3 years ago
Read 2 more answers
A right triangle has one side that measures 4 in. The angle opposite that side measures 80°. What is the length of the hypotenus
Sunny_sXe [5.5K]
Since you have an angle and at least one side you can use either sine, cosine or tan. For this question, you would use sine like above. Hope this helps!

5 0
3 years ago
What is 3.75 as a mixed number in its simplest form
Dahasolnce [82]
3\frac{3}{4}
7 0
3 years ago
Other questions:
  • A parallelogram-shaped sponge is 1 inch by 3 inches. The area of a design is 66 square inches. How many times do you use the spo
    8·2 answers
  • (46) please help geometry
    12·1 answer
  • Marcus rented a movie for 4$ and some video games for $6 each he paid $22 how many games did he rent
    12·2 answers
  • Multiply or divide as indicated <br> b^3 x b^-3
    13·1 answer
  • Ava has two frogs. This is 1/4 the number of frogs that Heather has. How many frogs does Heather have?
    5·2 answers
  • HELP PLEASE ASAP!!!!
    9·1 answer
  • Use the distributive property to remove the parentheses.<br> -7^2+4(-7)-4
    9·1 answer
  • The figure shows how the yard lines on a football field are numbered. The goal lines are labeled G. A referee was standing on a
    13·1 answer
  • A grocery store sells a bag of 6 oranges for $2.34. If Mav spent $1.95 on oranges, how many did she buy?
    8·2 answers
  • Please help i've lost all hope and i dont understand algebra and i will give brainlyest
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!