If x is an integer variable x=7/2its return value is
Answers
Answered by
0
Answer:
Its return value will be 3.
Explanation:
Because integer can store only integer value or value without decimal point.
And after solving 7/2 we get 3.5, but integer can't hold the floating point number(decimal point number) so .5 will not be stored/hold by integer. It will discard the .5 from the answer 3.5, it will only store 3.
Similar questions
Math,
5 hours ago
Math,
5 hours ago
Social Sciences,
5 hours ago
Math,
9 hours ago
English,
8 months ago