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

You invest $2,000 in an investment that pays an annual interest rate of 7.5% with monthly compounding. How many months will it take for your investment to be wo
solve the equation for t. show your work 5(2t - 3) - 7.5t = 0.5(12 - t)
What is the figurative language is "the storm of grief"o simile o personification o metaphoro allusion​
Bolivia is one of two countries in South America without a: A. sea port B. government C. mountain range
helppp meeeee tyyyyyy
Why was the purchase of Alaska beneficial to the US?
When we grow in relationship with ______________, we grow in relationship with God.
inequality As a sales person you are paid $50.00 per week plus $3.00 per sale
Give me 10 reasons why penguins are cute will give Brian list and 50 points
55 is 22% of what number?