Author Question: What is the value of number after the following statements execute?int number;number = 18 % 4 + 2; (Read 66 times)

mpobi80

  • Hero Member
  • *****
  • Posts: 519
What is the value of number after the following statements execute?
int number;
number = 18 % 4 + 2;

4
0
3
6.5
◦ unknown



Related Topics

Need homework help now?

Ask unlimited questions for free

Ask a Question


 

Did you know?

Nearly all drugs pass into human breast milk. How often a drug is taken influences the amount of drug that will pass into the milk. Medications taken 30 to 60 minutes before breastfeeding are likely to be at peak blood levels when the baby is nursing.

Did you know?

Oliver Wendell Holmes is credited with introducing the words "anesthesia" and "anesthetic" into the English language in 1846.

Did you know?

Alcohol acts as a diuretic. Eight ounces of water is needed to metabolize just 1 ounce of alcohol.

Did you know?

There are 60,000 miles of blood vessels in every adult human.

Did you know?

When blood is deoxygenated and flowing back to the heart through the veins, it is dark reddish-blue in color. Blood in the arteries that is oxygenated and flowing out to the body is bright red. Whereas arterial blood comes out in spurts, venous blood flows.

For a complete list of videos, visit our video library