10 × 10 – 5 + 15 – 5 × 10 / 5
1) x having higher precedence so we will solve for a x b where a , b are numbers
10x10=100 (replace 10x10 by 100)
5x10=50 ( replace 5x 10 by 50)
100 - 5 + 15 -50 / 5
2) now we are left with + , - , x , /
but they have same precedence , so we will sove them according to their associativity
therefore start solving from right to left since associativity is right ( similarly if associtivity been left then we would start from left to right
now 100 - 5 + 15 - (50 / 5)-----> 10(replace)
= 100 - 5 + (15 - 10)------->5(replace)
= 100 - (5 + 5)------->10(replace)
= (100 - 10)------->(replace)
= 90 ----->answer