+ 7

Challenge : can u solve this , I don't think so.. Well,give it a try.

So ,here we go - you have 4 numbers (1,1,5,8). what u need to do is just get a answer 10. u can use addition,substraction,division,multiplication, parenthese.(+,-,*,/,() ) But ur not allowed to use exponents i.e. 8+1+1^5 this is not valid . And yeah one more thing u cannot repeate the numbers. This question is a interview question ,simply mathematics no,language is in consideration. Good luck. Try your best Good Luck.

20th Jan 2018, 10:04 AM
Anjali Kushwaha
Anjali  Kushwaha - avatar
17 Réponses
+ 20
1)8+5/(1+1) //if java //bcz 5/2 in java is 2 only 😂 2)8/(1-1/5) //if math //u have a 5 so use it ...biggest hint 1-1/5 = 8/10 & 8 /(8/10) will give 10 3)8.0/(1.0-(double)1/5) //if java
20th Jan 2018, 10:13 AM
Gaurav Agrawal
Gaurav Agrawal - avatar
+ 2
well thats wrong ,u cannot reapete the numbers
20th Jan 2018, 10:29 AM
Anjali Kushwaha
Anjali  Kushwaha - avatar
+ 1
what is the answer for that Q's ?
20th Jan 2018, 11:09 AM
Jeevan Sharma
+ 1
well, as the answer is said let me explain it .briefly. 8/(1-1/5) First solve the parentheses that is 1-1/5 . take the L. C. M u will get 5 and it's like (5-1)/5,then u will get 4/5.. Now let's solve it with 8.. 8/4/5 let's make it simple 8*5/4 You will get 40/4 that is 10,, it's so simple and interesting. Hope u understood.
20th Jan 2018, 11:15 AM
Anjali Kushwaha
Anjali  Kushwaha - avatar
+ 1
Q's looks simple but to find the ans need to think ...
20th Jan 2018, 11:38 AM
Jeevan Sharma
0
Thanks to try but this is not the answer
20th Jan 2018, 10:29 AM
Anjali Kushwaha
Anjali  Kushwaha - avatar
0
can u just explain me ur answer
20th Jan 2018, 10:31 AM
Anjali Kushwaha
Anjali  Kushwaha - avatar
0
ohh i am sorry but this is an interview question and simply mathematics , not a java question
20th Jan 2018, 10:33 AM
Anjali Kushwaha
Anjali  Kushwaha - avatar
0
Basically , asked in google interviews
20th Jan 2018, 10:33 AM
Anjali Kushwaha
Anjali  Kushwaha - avatar
0
okay take ur time ,but dont search on google, please , henceforth, this question would be a total waste
20th Jan 2018, 10:35 AM
Anjali Kushwaha
Anjali  Kushwaha - avatar
0
just try it yourself first
20th Jan 2018, 11:09 AM
Anjali Kushwaha
Anjali  Kushwaha - avatar
0
@gaurav Agrawal did u tried your own or searched it
20th Jan 2018, 11:11 AM
Anjali Kushwaha
Anjali  Kushwaha - avatar
0
@jeevan you are absolutely right
20th Jan 2018, 11:41 AM
Anjali Kushwaha
Anjali  Kushwaha - avatar
0
why
20th Jan 2018, 11:45 AM
Anjali Kushwaha
Anjali  Kushwaha - avatar
0
😂
21st Jan 2018, 8:04 AM
Anjali Kushwaha
Anjali  Kushwaha - avatar
0
@ gaurav thanks
21st Jan 2018, 8:10 AM
Anjali Kushwaha
Anjali  Kushwaha - avatar