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

Author Question: What is the value of (double)5/2? (Read 42 times)

sabina

  • Hero Member
  • *****
  • Posts: 563

Question 1

Which of the following assignment statements is illegal?
◦ int t = 23;
◦ short s = 10;
◦ int t = 4.5;
◦ float f = -34;
◦ int t = (int)false;

Question 2

What is the value of (double)5/2?
◦ 2.5
◦ 2
◦ 3
◦ 3.0
◦ 2.0


Related Topics

Need homework help now?

Ask unlimited questions for free

Ask a Question
Marked as best answer by sabina on May 6, 2020

djpooyouma

  • Sr. Member
  • ****
  • Posts: 325
Reply #1 on: May 6, 2020
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 39% of students answer this correctly




sabina

  • Member
  • Posts: 563
Reply 2 on: May 6, 2020
YES! Correct, THANKS for helping me on my review


abro1885

  • Member
  • Posts: 337
Reply 3 on: Yesterday
Gracias!

 

Did you know?

To prove that stomach ulcers were caused by bacteria and not by stress, a researcher consumed an entire laboratory beaker full of bacterial culture. After this, he did indeed develop stomach ulcers, and won the Nobel Prize for his discovery.

Did you know?

Many supplement containers do not even contain what their labels say. There are many documented reports of products containing much less, or more, that what is listed on their labels. They may also contain undisclosed prescription drugs and even contaminants.

Did you know?

There are actually 60 minerals, 16 vitamins, 12 essential amino acids, and three essential fatty acids that your body needs every day.

Did you know?

The first documented use of surgical anesthesia in the United States was in Connecticut in 1844.

Did you know?

People about to have surgery must tell their health care providers about all supplements they take.

For a complete list of videos, visit our video library