kbridges1663 kbridges1663
  • 25-11-2020
  • Computers and Technology
contestada

Assume that d is a double variable. Write an if statement that assigns d to the int variable i if the value in d is not larger than the maximum value for an int.

Respuesta :

kastinm8071
kastinm8071 kastinm8071
  • 26-11-2020

Answer:

That's because the value has reached the size limit of the int data type. ... you should use long rather than int , because long can store much larger numbers than int . If ... In other words, a float or double variable can't accurately represent 0.1 . ... If you're using Java to measure the size of your house, you'd need an electron ...

Explanation:

Answer Link

Otras preguntas

What factors contributed to the statement on the western front
Why weren't schools in all regions desegregated immediately after the brown 2 decision
At the constitution convention delegates from northern to southern states disagree about
what is the greatest common factor of x^4 and x^3 X X^2 X^3 X^4
Can someone please help me? Homework is due tom
find all missing sides and angles​
How do you write y=-7+18 in point slope form
What percent of Spanish population lives in cities
How did communism impact American’s foreign policy during the 20th century?
What is a word-for-word excerpt from a text, framed by quotation marks?