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

? Which recent presidential candidate led one of the most successful independent campaigns? Al Gore Ross Perot Ronald Reagan Walter Mondale
Who used experiments and scientific tools to study matter?
What is the slope of the line that passes through the points (1,2) and (0,4)?
Why was the second national bank of the United states important?
What was the initial reason why NATO was formed
What is 29+d=54;24,25,26, how do I solve it?
Greg and Andrea are trying to find out how long it takes amylase, a digestive enzyme found in saliva, to break down a sample of starch. They put their sample in
What was the initial reason why NATO was formed
Fireworks change _____ into _____ and _____ energy.
What is another way to say " The reason i'm asking you this because..."