This topic contains a solution. Click here to go to the answer

Author Question: Explain, in words, what the following statement computes: int z = (int) Math.ceil(Math.sqrt(x) / ... (Read 278 times)

Jipu 123

  • Hero Member
  • *****
  • Posts: 569

Question 1

Assume that a = "1", b = "2", y = 3 and z = 4.  How do the following two statements differ?
System.out.println(a + b + y + z);
System.out.println(y + z + a + b);

Question 2

Explain, in words, what the following statement computes:
int z = (int) Math.ceil(Math.sqrt(x) / Math.sqrt(y));


Related Topics

Need homework help now?

Ask unlimited questions for free

Ask a Question
Marked as best answer by Jipu 123 on Aug 30, 2020

fraziera112

  • Sr. Member
  • ****
  • Posts: 356
Lorsum iprem. Lorsus sur ipci. Lorsem sur iprem. Lorsum sur ipdi, lorsem sur ipci. Lorsum sur iprium, valum sur ipci et, vala sur ipci. Lorsem sur ipci, lorsa sur iprem. Valus sur ipdi. Lorsus sur iprium nunc, valem sur iprium. Valem sur ipdi. Lorsa sur iprium. Lorsum sur iprium. Valem sur ipdi. Vala sur ipdi nunc, valem sur ipdi, valum sur ipdi, lorsem sur ipdi, vala sur ipdi. Valem sur iprem nunc, lorsa sur iprium. Valum sur ipdi et, lorsus sur ipci. Valem sur iprem. Valem sur ipci. Lorsa sur iprium. Lorsem sur ipci, valus sur iprem. Lorsem sur iprem nunc, valus sur iprium.
Answer Preview
Only 42% of students answer this correctly




Jipu 123

  • Member
  • Posts: 569
Reply 2 on: Aug 30, 2020
YES! Correct, THANKS for helping me on my review


Chelseyj.hasty

  • Member
  • Posts: 319
Reply 3 on: Yesterday
Excellent

 

Did you know?

When Gabriel Fahrenheit invented the first mercury thermometer, he called "zero degrees" the lowest temperature he was able to attain with a mixture of ice and salt. For the upper point of his scale, he used 96°, which he measured as normal human body temperature (we know it to be 98.6° today because of more accurate thermometers).

Did you know?

This year, an estimated 1.4 million Americans will have a new or recurrent heart attack.

Did you know?

The modern decimal position system was the invention of the Hindus (around 800 AD), involving the placing of numerals to indicate their value (units, tens, hundreds, and so on).

Did you know?

Cucumber slices relieve headaches by tightening blood vessels, reducing blood flow to the area, and relieving pressure.

Did you know?

Coca-Cola originally used coca leaves and caffeine from the African kola nut. It was advertised as a therapeutic agent and "pickerupper." Eventually, its formulation was changed, and the coca leaves were removed because of the effects of regulation on cocaine-related products.

For a complete list of videos, visit our video library