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

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 15:30, coollid876
To increase sales, robert sends out a newsletter to his customers each month, letting them know about new products and ways in which to use them. in order to protect his customers' privacy, he uses this field when addressing his e-mail. attach bcc forward to
Answers: 2
image
Computers and Technology, 23.06.2019 00:00, destinysmithds7790
Suppose you have 9 coins and one of them is heavier than others. other 8 coins weight equally. you are also given a balance. develop and algorithm to determine the heavy coin using only two measurements with the of the balance. clearly write your algorithm in the form of a pseudocode using the similar notation that we have used in the class to represent sorting algorithms
Answers: 1
image
Computers and Technology, 23.06.2019 02:30, jaueuxsn
Which component acts as a platform on which application software runs
Answers: 2
image
Computers and Technology, 23.06.2019 02:50, bfell92
There’s only one game mode that stars with the letter ‘e’ in cs: go. which of the options below is it?
Answers: 1
You know the right answer?
A. Using a conditional statement, generate a program in any coding language and explain the working...

Questions in other subjects:

Konu
English, 05.07.2019 17:00
Konu
English, 05.07.2019 17:00
Konu
Chemistry, 05.07.2019 17:00