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

Solve the proportion. x-8/5 = 2/4 A) 5/2 B) 9/2 C) 21/2 D) 18
Given this graph plotting velocity versus time, estimate the acceleration of object A at points X and Y respectively. A. 0 meters/second2 and -1 meter/second2
that is rudder and were does it found in air planes
The unit dosing machine packages medication based on the
why nitro group is called an ambident group?​
PLEASE ANSWER ASAP! *picture attached*
The last battle of the war was fought at — ? Fighting The Revolutionary War
Acid is added to a beaker containing crushed marble. What effect does stirring this mixture have on the system? the surface area of the particles increases
Which of the following was NOT an aspect of MTV's brand in the '80s and early '90s? A) MTV promoted liberal values within its original programming B) MTV increa
I need ur help!!! Plss!!!