Question

double a=2, b=43, c=11, d=12 (b-a) / (a*d) % (b / a)

double a=2, b=43, c=11, d=12

(b-a) / (a*d) % (b / a)

Homework Answers

Answer #1

Solution: Whenever a number of operators are working over a number of operands, the expression must be evaluated in accordance with the precedence of the operators that are working upon these operands. But since in this case clear distinction has been given in the form of braces, therefore the expression can be evaluated on the basis of these braces.

The expression (b-a) / (a*d) % (b / a) can be broken down into three expressions:

A = b-a

B = a*d

C = b/a

expression becomes A/(B%C)

given, a=2, b=43, c=11, d=12

therefore,

A = 43 - 2 = 41

B = 2 * 12 = 24

C = 43/2 = 21.5 = 21

Expression: A/(B%C) = 41/(24%21)

41/3 = 13.66 = 13

Here's the solution to your question and it is absolutely correct, please provide it a 100% rating. Thanks for asking and happy learning!!

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Compute the following: (a) 132018 (mod 12) (b) 811111 (mod 9) (c) 7256 (mod 11) (d)...
Compute the following: (a) 132018 (mod 12) (b) 811111 (mod 9) (c) 7256 (mod 11) (d) 3160 (mod 23)
Incident Probability Estimated return A 5% -10% B 30% 2% C 43% 20% D 20% 42%...
Incident Probability Estimated return A 5% -10% B 30% 2% C 43% 20% D 20% 42% E 2% -6% Calculate Expected return Variance of epected return Standard deviation of expected return Coefficient of variation
16) The medical terminology of the armpit is called? a. Axillary b. Brachial c. Antebrachial d....
16) The medical terminology of the armpit is called? a. Axillary b. Brachial c. Antebrachial d. Sternum 17) The pH of blood plasma is approximately 7.35-7.45, which is slightly acidic. a. True b. False 18) What is the pH of the HCL found in the human stomach? a. 5 b. 7 c. 2 d. 14 19) If a solution has more Hydrogen (H+) ions in it, it is considered to be a basic solution. a. True b. False 20) The...
Write the canonical SOP expression for the function F(a, b, c, d)=∑m(2, 3, 9, 10, 11,...
Write the canonical SOP expression for the function F(a, b, c, d)=∑m(2, 3, 9, 10, 11, 13) and then simplify using algebraic manipulation.
combinations X Y A 10 10 B 12 12 C 10 8 D 8 12 can...
combinations X Y A 10 10 B 12 12 C 10 8 D 8 12 can we conclude that (a) B>A? (b)D>A? (c) if D>A, then D>C? Explain please. I believe this relates to indifference curves. This is a chart of consumer preferences.
Determine ∫π/60xsin(x)dx A. −12+3–√π12 B. 12−3–√π12 C. −12−3–√π12 D. 12+3–√π12 E. 3–√2+π12
Determine ∫π/60xsin(x)dx A. −12+3–√π12 B. 12−3–√π12 C. −12−3–√π12 D. 12+3–√π12 E. 3–√2+π12
please double check the answers of Question 1 C and Question 2 D i got the...
please double check the answers of Question 1 C and Question 2 D i got the rest of the answers. 1.An object undergoing simple harmonic motion takes 0.32 s to travel from one point of zero velocity to the next such point. The distance between those points is 26 cm. Calculate (a) the period, (b) the frequency, and (c) the amplitude of the motion. 2.x = (9.2 m) cos[(5πrad/s)t + π/4 rad] gives the simple harmonic motion of a body....
11) α = 0.05 for a two-tailed test. A) ±1.764 B) ±2.575 C) ±1.96 D) ±1.645...
11) α = 0.05 for a two-tailed test. A) ±1.764 B) ±2.575 C) ±1.96 D) ±1.645 12) α = 0.09 for a right-tailed test. A) ±1.96 B) 1.96 C) 1.34 D) ±1.34 13) α = 0.05 for a left-tailed test. A) -1.96 B) ±1.96 C) ±1.645 D) -1.645 16) Find the critical value for a right-tailed test with α = 0.01 and n = 75. A) 2.33 B) 1.645 C) 2.575 D) 1.96 17) Find the critical value for a...
Devos inc has 4 teams (A, B, C, D) and 4 (1, 2, 3, 4) potential...
Devos inc has 4 teams (A, B, C, D) and 4 (1, 2, 3, 4) potential tasks. The total amount of days each employee would need to allocate to each job is as follows: ​ Potential Tasks Team 1 2 3 4 A 28 33 21 35 B 41 43 23 37 C 48 28 33 42 D 49 27 43 46 Match the team the most efficient task. What is the total number of days that these projects will...
(1) 43 is the same as Select one: a. 16 b. 64 c. 8 d. none...
(1) 43 is the same as Select one: a. 16 b. 64 c. 8 d. none of the above (2) A man buys 3 burgers and 2 jumbo deluxe fries for $7.40. A woman buys one burger and 4 jumbo deluxe fries for $7.80. How much is the burger and how much are the fries? Select one: a. Burger = $1.40, Fries = $1.60 b. Burger = $1.50, Fries = $1.80 c. Burger = $2.80, Fries = $2.00 d. Burger...