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

The system of social organization in which the means of producing and distributing goods is owned collectively or by a centralized government that often plans a
One impact Stalin's policy had on the Soviet Union.
What is the answer for -2(x+1)
How can oil poor countries help oil Rich countries?? I NEED ASAP AND IT DOES NOT HAVE ANSWER THINGS NEED SENTECES
Which of the following is not included when analyzing for structure? how the sentences are written what order the information is organized which points ar
The theme is usually revealed in the resolution of the story because -the theme relates to the lesson learned from the conflict - the theme shows what the char
What does a towel on the door handle mean?
The rods are responsible for whereas the cones are responsible for
What is the correct expression for molarity
The description that best suits the romance is _____. "here and now" "tomorrow—the future" "long ago and far away" "the real world"