A double or a float variable should not be used as programming flag variables. Why is this so?

What will be an ideal response?


Typically, you want to have a program flag have a value that is checked easily, such as a bool or an int. You are not able to perform a precise check for a float or a double.

Computer Science & Information Technology

You might also like to view...

The first argument to method showMessageDialog specifies ________.

a. the title. b. the message. c. the icon. d. the parent window.

Computer Science & Information Technology

Loading an image ahead of time is known as

a. buffering b. prefetching c. caching d. backlogging

Computer Science & Information Technology

A(n) ________message is used try to convince the reader to change an attitude, belief, or to take an action

A) passive B) direct C) persuasive D) active

Computer Science & Information Technology

You should choose font colors that contrast strongly with a page's background.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology