subject
Computers and Technology, 06.05.2021 01:50 sswd

A. Using a conditional statement, generate a program in any coding language and explain the working of it: “If the temperature of your room is more than 80° or less than or equal to 60°, then the program should branch; otherwise, the execution should continue without branching.” 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

SOMEBODY PLS HELP IM STUMPED AND THESE ARE THE LAST QUESTION OF MY SCHOOL YEAR​

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 22:00
During physical science class ben and jerry connected three identical lightbulbs in parallel to a battery where happens when ben removes one of the lightbulbs from it’s socket
Answers: 2
question
Computers and Technology, 23.06.2019 08:00
What is a scenario where records stored in a computer frequently need to be checked
Answers: 2
question
Computers and Technology, 23.06.2019 15:30
Brian wants to conduct an online search with a certain phrase. he intends to use the words books that belong to the 1800s in his search. how should he use the word that in his search?
Answers: 1
question
Computers and Technology, 24.06.2019 13:00
Think of a spreadsheet as a giant calculator spread of paper chart data collector
Answers: 2
You know the right answer?
A. Using a conditional statement, generate a program in any coding language and explain the working...
Questions
question
Biology, 07.04.2021 19:00
question
Social Studies, 07.04.2021 19:00
question
Mathematics, 07.04.2021 19:00
Questions on the website: 13722363