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

Author Question: What is the value of (double)5/2? (Read 41 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
Thanks for the timely response, appreciate it


Laurenleakan

  • Member
  • Posts: 309
Reply 3 on: Yesterday
Great answer, keep it coming :)

 

Did you know?

Excessive alcohol use costs the country approximately $235 billion every year.

Did you know?

If all the neurons in the human body were lined up, they would stretch more than 600 miles.

Did you know?

In inpatient settings, adverse drug events account for an estimated one in three of all hospital adverse events. They affect approximately 2 million hospital stays every year, and prolong hospital stays by between one and five days.

Did you know?

Pregnant women usually experience a heightened sense of smell beginning late in the first trimester. Some experts call this the body's way of protecting a pregnant woman from foods that are unsafe for the fetus.

Did you know?

In 2012, nearly 24 milliion Americans, aged 12 and older, had abused an illicit drug, according to the National Institute on Drug Abuse (NIDA).

For a complete list of videos, visit our video library