in a soap company,a soap is manufactured with 11 parts.....for making one soap,u will get one part as a scrap...at the end of the day,u have 251 such scraps....from that ,how many soaps can be manufactured??
in a soap company,a soap is manufactured with 11 parts.....for making one soap,u will get one part as a scrap...at the end of the day,u have 251 such scraps....from that ,how many soaps can be manufactured??
This is a wild guess . Is it 24.
It is 22 soaps
I think you can make 25 soaps and you will stil have 1 part with you
Wrote a simple algo to find that in perl
$w = 251;
print w2soap(\$w);
sub w2soap {
my($wref)=@_;
my $x = int($$wref/11);
$$wref = $x + ($$wref % 11);
if($$wref >= 11){
$x = $x + w2soap($wref);
}
print "Returning $x\n";
return $x;
}
Now a similar question
If for every 3 wrappers I get 1 soap free ( with wrapper of course )
How many soaps do I need to buy to get 20 soaps
we can get 25 soaps by end of the day
i think we can make 251 soaps
hi friend..
i think it is 251
Thanks
Deepasree
Hi,
I think it's 25.
Because form 251 scraps you can make 22 soaps and 9 scraps remain. And by making 22 soaps you will get 22 more scraps so from that you can make 2 more soaps. And by making those 2 soaps you will get 2 scraps. And those 2 scraps with the previously remained 9 scraps will make one more soap. And for the last one you made, you'll get one more scrap. That of course will be the reminder.
No. of soaps are 22+2+1 = 25
So, there will be 25 soaps and 1 scrap.
_Niki_
hi,
i think it may be 251
Thanks
Sushma
Answer: 25 soups
11 scraps = 1 soup manufactured ( given )
With 251 scraps = 22 soups manufactured, and each soup gave one scrap i.e. 22 scrap + 9 scrap still remained. So, now we total 22+9 = 31 scraps still remained.
With 31 scraps = 2 soups manufactured, and each soup gave one scrap i.e. 2 scraps + 9 scrap still remained. So, now we have 2+9 = 11 scraps still remained.
With 11 parts = 1 soups manufactured, and it gave one scrap.
In Total, 22 + 2 + 1 i.e 25 soups . ( with 1 scrap still remained.)
But the question was how many soaps can be manufactured?? so the answer to it is ' 25 ' soups can be manufactured by end of the day. !!..
Forget about the scraps they aren't asking about remained scraps.
Few have answered it correctly ... 3 cheers.
Cheers,
Anup | Mahindrakar
Answer for ramprasad.ap question.
Question:
Now a similar question
If for every 3 wrappers I get 1 soap free ( with wrapper of course )
How many soaps do I need to buy to get 20 soaps
Answer:
To buy get 20 soups you need to buy atleast 14 soups.
Explanation:
Buy 14 soups, you will have 14 soups + 14 wrappers,
With 14 wrappers, you can have 4 soups and along with it 4 wrappers + 2 wrappers remaining. Total you have 6 wrappers left.
With 6 wrappers, you can have 2 soups and 2 wrappers. So in total you have (14 +4 +2 soups + 2 wrappers still remaining ).
Ramprasad is this OK ? Kindly confirm.
Cheers,
Anup | Mahindrakar
its 25 n 1 part as scrap...
I think the answer is :22
It should be 21 soap i.e,
Step 1: 251/11 =22.81 approximately 23 soaps(23*11=253)
Step 2:Remove a part as a scrap from 23 soap(253-23=230)
Step 3:Now divede 230 by 11 its approximately 21(20.90)
it s exactly 25soaps........(251/11)+ (22/11)+( 1)= 24
24 soaps can be made ,9 scraps will remain left
25 remainder 1