188k views
5 votes
What result is stored in result if you have the following: int result = 13 - 3 * 6 / 4 ;

User Jamgold
by
8.2k points

2 Answers

5 votes

Hello!

Answer:


\Large \boxed{\sf ( 17)/(2 )}

Explanation:

→ We want to simplify this expression:


\sf 13 - 3 * (6)/(4)

Simplify the multiplication:


\sf 13 - ( 3 *6)/(4)

Simplify the fraction:


\sf 13 - ( 18)/(4)


\sf 13 - ( 9* 2 )/(2* 2)

Convert 13 in fraction:


\sf ( 13)/(1) - ( 9)/(2)

Put the fractions to the same denominator:


\sf ( 13* 2)/(1 * 2 ) - ( 9)/(2)

Simplify the fraction:


\sf ( 26)/(2 ) - ( 9)/(2)

Simplify the subtraction:


\sf ( 26-9)/(2 )


\boxed{\sf ( 17)/(2 )}

Conclusion:

The expression 13 - 3 × 6/4 is equal to 17/2.

User Ali Samawi
by
8.1k points
4 votes

Answer:

13 - 3 * 6 / 4 =

13 - (3*6)/4 =

13 - 18/4 =

13 - 9/2 = (26-9)/2 = 17/3

User Zufan
by
8.1k points

No related questions found

Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.

9.4m questions

12.2m answers

Categories