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

Which scenario does Sophocles use for dramatic irony A.creon assumes a man broke his law B.polyneices rebels against Thebes. C.eteocles fights for Thebes. D.th
What is Kant's purpose in writing "What is Enlightenment?"
Plz help number 4 plz rn
Charged objects have a _________ charge.A) net, B) moving, C) positive, D) negative
To modify a prediction means to _____. a.confirm the prediction b.preview the prediction c.anticipate the prediction d.change the prediction
Why are tropical climates so hot?
Can anyone help me out a little
Elaine gets quiz grades of 71, 75, and 64. She gets a 60 on her final exam. Find the weighted mean if the quizzes each count for 20% and the final exam counts f
Please help me with numbers 2 and 3
whats a topic sentence for Gender Identity is a spectrum, not a binary system. ? topic sentence is sentence that expresses the main idea of the paragraph in wh