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

list 3 values that would make this inequality true 180>15y
What did the Andes Mountain and the Amazon River basin affected Simon Bolivars to bring about?
One reason the league of nations failed as a world organization was that it
Realidades 3 WB3-11
Describe the typical characteristics associated with a proactive personality.
Using complete sentences, describe in your own words the ways in which novels are different from autobiographies.
The body system responsible for absorbing chemical energy from food is the-
Which term best describes the way this fungus obtains nutrients
Sweet T purchased a new pair of jeans to wear to the Battle of the Bands on sale at 40% off. He saved $20. What was the regular price of the jeans?
a gas sample is heated from -20 to 57 C and the volume is increased from 2.00 L to 4.50 L. If the initial pressure is 0.109 atm, what is the final pressure?