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 20:00
What is the term for water wave that is created by an underwater earthquake
Answers: 1
question
Computers and Technology, 23.06.2019 19:30
You can apply several different worksheet themes from which tab?
Answers: 1
question
Computers and Technology, 24.06.2019 23:30
What is the opening page of a website called? a. web page b. landing page c. homepage d. opening page
Answers: 1
question
Computers and Technology, 25.06.2019 10:30
Select all that apply. select all functions of an operating system. displays a gui. allows you to multitask. allows you to use the software that you want to use. allows you to edit images. coordinates the interaction of hardware and software. defrags the hard drive. allocates the computer's resources. saves data. retrieves files. keeps confidential documents secure. copies information from one document to another.
Answers: 1
You know the right answer?
A. Using a conditional statement, generate a program in any coding language and explain the working...
Questions
Questions on the website: 13722361