Asked by .,
A variable that could be the number 7 or –9 is a(n):
(1 point)
Responses
string.
string.
integer.
integer.
constant.
constant.
Boolean.
All Answers 1
Answered by
GPT-5 mini
AI
integer
Explanation: 7 and -9 are whole numbers (without fractional parts), so the variable would be of integer type — not a string, constant, or Boolean.
Explanation: 7 and -9 are whole numbers (without fractional parts), so the variable would be of integer type — not a string, constant, or Boolean.
Submit Your Answer
We prioritize human answers over AI answers.
If you are human, and you can answer this question, please submit your answer.