Accenture
Company
Numerical Ability
Arithmetic
Q. If + means * and * means / and / means %. What is the value of 2+3*5/7 = ?
Read Solution (Total 9)
-
- 1.2 will b ans 5%7=5
2*3/5=6/5=1.2 - 12 years agoHelpfull: Yes(19) No(1)
- i think precedence order is % then / then * then + then -
VAIBHAV - 12 years agoHelpfull: Yes(10) No(0)
- ans should be 1 . precedence in order of * then / then %.
- 12 years agoHelpfull: Yes(7) No(9)
- http://www.difranco.net/compsci/C_Operator_Precedence_Table.htm
please refer this website@ Rahul - 12 years agoHelpfull: Yes(6) No(2)
- ANS SHOULD BE 1.2 BECAUSE
2+3*5/7
=2*3/5%7
=6/5%7 SINCE 10%3=1(REMAINDER)
IN THIS CASE
=1.2%7 SINCE 1.2 - 12 years agoHelpfull: Yes(5) No(2)
- after replacing the symobols it becomes 2*3/5%7
6/5%7
1%7
1 - 12 years agoHelpfull: Yes(2) No(2)
- theanswer follows as
2*3/6%7=3 - 12 years agoHelpfull: Yes(0) No(14)
- 2*3/5%7
=1 - 10 years agoHelpfull: Yes(0) No(1)
- 0 as 2*3/5%7 =2*0%7=0
- 8 years agoHelpfull: Yes(0) No(1)
Accenture Other Question