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 characteristics describe the MOV video file format? Choose all that apply. -used for streaming video -compatible only with Apple OS -uncompressed file for
What’s the correct answer for this question?
Can someone please solve 16 and 17
mention the 2 hemispheres where the United States is located in
importance of government grants
what strategies did the north and the south enploy? this is a short answer to ​
Please explain how to solve this problem A nut store normally sells cashews for​ $4.00 per pound and peanuts for​ $1.50 per pound. But at the end of the month t
could anyone please help me ?
How do u do this? pic is under
In Hungry Horse, Montana, the Hungry Horse Dam blocks water flowing from the Columbia River. What is the best name for the water resource that is created by the