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
What is the answer for 2a x -a?
Verizon [17]

Answer:

-2a²

Step-by-step explanation:

The question is  2a × -a

This means 2a(-a)

= -2×(a×a)

=-2(a²)

=-2a²

6 0
3 years ago
A square has a perimeter of 4 cm. What is the length of each side?
MAXImum [283]

Answer:

1 cm

Step-by-step explanation:

Since the perimeter is 4 cm and all the sides of the square have the same length, each side must be 1 cm long.

The area of that square is 1 cm x 1 cm, which is 1 cm2.

3 0
3 years ago
Read 2 more answers
Please help Me I really need the help
Nana76 [90]

Answer:

47

Step-by-step explanation:

sinice they are similar they have the same angles so 180-118-15=f

so f=47

3 0
4 years ago
Explain the difference between evaluating 3 * 7 - 4 ÷ 2 and evaluating 3(7 - 4) ÷ 2.
Bogdan [553]
DIY. I believe in you, its just a matter if you believe in yourself. Your welcome
6 0
3 years ago
Read 2 more answers
100 POINTS ANSWER PLEASE URGENT PLEASE DUE IN 8 mins
AnnZ [28]

Answer:

First image: -83/2

Second image: 8.62%

Third image: -43/2

Step-by-step explanation:

See the attachments

5 0
3 years ago
Read 2 more answers
Other questions:
  • The compound inequality could represent which scenario? If Janie scores between 8.3 and 9.8 in her gymnastics performance, she q
    13·2 answers
  • You are eating lunch at Subway and have narrowed your sandwich choices to the items in the table below. You must choose one item
    9·1 answer
  • The diameter of a circle is 4 feet. what is the circumference
    11·1 answer
  • Bobbi can mow the park in 3 hours and Deshaun can do the same job in 7 hours. How long will it take them to mow the park
    12·1 answer
  • a book is 1/2 of an inch thick. How many of these books will fit into a shelf that is 5 3/4 inches wide?
    9·1 answer
  • Can someone help!!!!!!!!!!!!!!!!!!!!!!!!
    12·1 answer
  • Please help ;-; very urgent
    13·1 answer
  • Solve The equation 1/4t-6=-4<br> t=
    8·1 answer
  • What is the mean of the values in the stem-and-leaf plot?<br><br><br> Enter your answer in the box.
    10·2 answers
  • The​ U-Drive Rent-A-Truck company plans to spend ​$16 million on 320 new vehicles. Each commercial van will cost ​$​25,000 each
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!