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?


I need help I cant create it please help! will give brainliest

Answer :

Answer:

"otherwise" (and any subsequent words) was ignored because we limit queries to 32 words.

Explanation:

ugh

Other Questions