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

If an element contains 8 electrons how many electrons will be placed in the 2nd valence shell? 6 2 8 5 11
Name four coplanar points
Which country did not join the allies late in the war? A Japan B Mexico C U.S. D Italy
what is the noble gas notation for the element indium, (in,atomic #49) is
56 books 75% decrease
graph and solve the system 3x=4y+x 4y=-x+3@Emma11234
All sunshine and no rain makes a desert. what does this mean?
Which word has a meaning similar to “queer” as it is used in this excerpt?
A snack stand sold hot dogs and chips at a recent game. The hot dogs cost $2.50 and the snacks cost $0.75. After the game, they tallied 175 transactions totalin
what number has the same absolute value as 81?