Ask 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

+2
Answers (1)
  1. 25 June, 02:49
    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?
Find 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 the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers