Ask Question
3 October, 05:02

Which of the following are valid values for the integer data type? (Select all that apply)

"integer"

90.1

'1'

true

-25

0

423190

0.1

+3
Answers (1)
  1. 3 October, 06:34
    0
    You can only assign an integer number (i. e. a number without decimal part) to an integer data type.

    "integer" is a string, so it's not a number (and thus not an integer)

    90.1 has a decimal part, so it's not an integer

    '1' is a string, so it's not a number (and thus not an integer)

    true is a boolean, so it's not a number (and thus not an integer)

    -25

    0

    423190

    0.1 has a decimal part, so it's not an integer
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Which of the following are valid values for the integer data type? (Select all that apply) "integer" 90.1 '1' true -25 0 423190 0.1 ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers