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 process of combustion occurring without an open flame is called ________. question 7 options:
An equivalent equation has been written by multiplying the second equation by 2. 4x – 9y = 7 4x – 9y = 7 2(–2x + 3y = 4) → –4x + 6y = 8
what is the precondition necessary for a people or nation to have extensive individual liberties?
2(v-h)/k=r Solve equation for v in terms of all other variables involved
A striated muscle controls movement of the body in relation to the environment. a. True b. False
Q.3. Does the poet enjoy teaching? Justify your answer.
If im in 8th grade how many years ago was i in 5th
Rosa has decided to sell pet rocks at an art fair for $5 each. she has paid $50 to rent a table at the fair and it costs her $2 to package each rock with a set
Perform the indicated operation. 5 - (-8) 13 -13 3 -3
Can someone please help me with number 31?