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...
To store files on your OneDrive, you must be signed into Office
Indicate whether the statement is true or false
Computer Science & Information Technology
A good password should have at least eight characters and use all lowercase letters
Indicate whether the statement is true or false.
Computer Science & Information Technology