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

2. Write an equation in standard form of the line that passes through (7,-3)and has a y-intercept of 2​
Maria is going to rent a truck for one day. There are two companies she can choose from, and they have the following prices. Company A charges an initial fee of
this is used in organic compounds as key components in the DNA molecule and ATP a.nitrogen b.oxygen c.carbon d.phosphorus
Match each example with the choice that best fits the description Match Term Definition The connotative definition of the word snake A) The kite string was wrap
Sebastian deposited money into an
A managed float is the exchange rate policy where the government
y = x - 4 2x + y = 5
what is the slope of y=2/7x and is it proportional​
about economic.... question of demanded​
Explain the effect an increase in prices in the market would have on a factory's level of production.