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

how does the water get to the leaves in the tops of the tallest trees against the force of gravity?
A group of organisms of different species living together in a particular place is called
Should a president die in office, which official succeeds the president if the vice president is unable to assume the role? A.secretary of state B.first lady C.
Tay-Sachs disease is prominent among African-Americans Italian-Americans Native Americans Jewish-Americans
How do I do this? Can someone fill in the blanks
What type of information is being presented by a scientist who has a reason for presenting information a certain way?
What is the solution to the compound inequality?
can some1 help me with grade7s math?
How do I do this? Can someone fill in the blanks
how does immune system work together with the circulatory system