joavan784 joavan784
  • 01-12-2020
  • Computers and Technology
contestada


The variable isopen is to be used to indicate whether or not a store is currently open. Which of the following is the most appropriate data type for isOpen?

Respuesta :

MrRoyal
MrRoyal MrRoyal
  • 05-12-2020

Answer:

Boolean

Explanation:

Though the options are missing, the question is still answerable.

From the question, we understand that isOpen can only assume any of two values which are: open or close

i.e. whether a store is opened or currently.

When a variable can only assume any of two values, the most suitable data type of that variable is Boolean.

Hence, Boolean answers the question.

Answer Link

Otras preguntas

what is the slope between y=3.20x+9 simplified
How might your experience with the internet be different today if, instead of military and scientific communities, the internet had its origin somewhere else (s
What units are used for the rate of flow of electric charge?
A city is building a fence around a rectangular playground if the perimeter of the playground is 104 feet and the length of one side of the fence is 32 feet wha
Simplify 5÷√5 plz and thank you​
activity 2: group the face!using the fb imojis above, group the symbol according to the message it conveyed. draw the fb imojis on the column they belong..PA TU
Help please and thanks! I always give brainliest! :)
Edhesive 3.6 Lesson Practice
10 Scientists need to test different abilities of the robots. While scientists perform these tests, they measure how much energy the robots require to function
A person sweating is an example of which characteristic of a living thing 1)moving 2) excretion 3) reproduction 4) respiration