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

Author Question: When comparing any primitive type of variable, == should always be used to test to see if two values ... (Read 70 times)

tth

  • Hero Member
  • *****
  • Posts: 579

Question 1

The statement if (a >= b) a++; else b--; will do the same thing as the statement if (a< b) b--; else a++;.
◦ true
◦ false

Question 2

When comparing any primitive type of variable, == should always be used to test to see if two values are equal.
◦ true
◦ false


Related Topics

Need homework help now?

Ask unlimited questions for free

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

aprice35067

  • Sr. Member
  • ****
  • Posts: 337
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




tth

  • Member
  • Posts: 579
Reply 2 on: Aug 30, 2020
Thanks for the timely response, appreciate it


vickybb89

  • Member
  • Posts: 347
Reply 3 on: Yesterday
:D TYSM

 

Did you know?

Throughout history, plants containing cardiac steroids have been used as heart drugs and as poisons (e.g., in arrows used in combat), emetics, and diuretics.

Did you know?

Addicts to opiates often avoid treatment because they are afraid of withdrawal. Though unpleasant, with proper management, withdrawal is rarely fatal and passes relatively quickly.

Did you know?

During the twentieth century, a variant of the metric system was used in Russia and France in which the base unit of mass was the tonne. Instead of kilograms, this system used millitonnes (mt).

Did you know?

The immune system needs 9.5 hours of sleep in total darkness to recharge completely.

Did you know?

More than 30% of American adults, and about 12% of children utilize health care approaches that were developed outside of conventional medicine.

For a complete list of videos, visit our video library