What type of operator does Jim need to use within his code for the - ProProfs Discuss
Topics
Products
Follow Us:

What type of operator does Jim need to use within his code for the following business?



Jim currently runs a car rental dealership and wishes to write a program that allows the user to enter in the temperature of the location they plan to visit and then recommend a car based on the data.  Below is a summary of the program structure Jim is looking for.        Temp greater than 80 a Convertible should be selected.        Temp  greater than 60 and less than 80 a SUV should be selected        Temp less than 60 a truck should be selected. Jim has no trouble writing the code if the temperate is greater than 80 but gets stuck when he arrives at the second line of code which reads Temp  greater than 60 and less than 80 a SUV should be selected. 

A. &&
B. | |
C. !=
D. ==

This question is part of Computer Programming II Exam (Multiple Choice)
Asked by Justinsmith, Last updated: Feb 27, 2020

+ Answer
Request

1 Answer

John Smith

John Smith

Answered Jan 25, 2017

&&
 

Search for Google images
Select a recommended image
Upload from your computer
Search for Google images
Select a recommended image
Upload from your computer
Search for Google images
Select a recommended image
Upload from your computer

Email Sent
We have sent an email to your address "" with instructions to reset your password.