Originally posted by: mjuszczak
mj$ sh blah.sh | grep 1040 | grep 53
Total with 34 quarters AND 19 dimes WITH 53 total coins: 1040
mj$
There is only one answer
Here is the shell script:
#!/bin/sh
QUARTERS=0
DIMES=0
while [ "$QUARTERS" -lt "100" ]
do
DIMES=0
QUARTERS=`expr $QUARTERS + 1`
while [ "$DIMES" -lt "100" ]
do
DIMES=`expr $DIMES + 1`;
TOTAL_DIMES=`expr $DIMES \* 10`
TOTAL_QUARTERS=`expr $QUARTERS \* 25`
TOTAL=`expr $TOTAL_DIMES + $TOTAL_QUARTERS`
TOTALCOINS=`expr $QUARTERS + $DIMES`
echo "Total with $QUARTERS quarters AND $DIMES dimes WITH $TOTALCOINS total coins:$TOTAL"
done
done
There WERE 34 quarters and 19 dimes. But after the whole world saw this post about all this money, there are no longer ANY coins left. I think someone was feeding them to the flamingos. Thus, to answer how many coins are there, the answer is 0.Originally posted by: jimbob200521
There were 53 coins in the jar, all dimes and quators and it added up to $10.40... How many of each coins are there?
Originally posted by: toolboxolio
Originally posted by: jimbob200521
Originally posted by: TallBill
These are not riddles, they are your homework. Cheater.
I'm 20 and at work lol
Loke will be calling your work and getting you expelled.
Originally posted by: dullard
First correct coin answer:
There WERE 34 quarters and 19 dimes. But after the whole world saw this post about all this money, there are no longer ANY coins left. I think someone was feeding them to the flamingos. Thus, to answer how many coins are there, the answer is 0.Originally posted by: jimbob200521
There were 53 coins in the jar, all dimes and quators and it added up to $10.40... How many of each coins are there?
Originally posted by: krotchy
Same for horse, flamingo (horse = 4, flamingo =2 I assume, since flamingo could be on 1 leg if it wanted)
30 horses = 120 legs - 94 = 26/2 = 13 flamingos
so 13 flamingo, 17 horses...
Originally posted by: dullard
But after the whole world saw this post about all this money, there are no longer ANY coins left. I think someone was feeding them to the flamingos. Thus, to answer how many coins are there, the answer is 0.
There were 53 coins in the jar, all dimes and quators and it added up to $10.40... How many of each coins were there?
I was trying to get at that with an earlier post. But I certainly didn't properly think out the uneaten chicken leg aspect. I bow down to my new master, Torpid.Originally posted by: torpid
Also, the heads and legs is totally impossible because you don't know if there are other animals/beings/porta-pottys/uneaten picnic chicken legs.
Originally posted by: SilthDraeth
Don't flamingos bury their heads in the sand anyways?
Originally posted by: sdifox
Originally posted by: SilthDraeth
Don't flamingos bury their heads in the sand anyways?
Not exactly. Flamingos pick food off the riverbed with their beak. Ostridge is what you are thinking about.
Originally posted by: Alone
Originally posted by: sdifox
Originally posted by: SilthDraeth
Don't flamingos bury their heads in the sand anyways?
Not exactly. Flamingos pick food off the riverbed with their beak. Ostridge is what you are thinking about.
Ostrich is what you're thinking about.
Originally posted by: Alone
Originally posted by: sdifox
Originally posted by: SilthDraeth
Don't flamingos bury their heads in the sand anyways?
Not exactly. Flamingos pick food off the riverbed with their beak. Ostridge is what you are thinking about.
Ostrich is what you're thinking about.
Originally posted by: aleckz
Originally posted by: mjuszczak
mj$ sh blah.sh | grep 1040
Total with 2 quarters AND 99 dimes: 1040
Total with 4 quarters AND 94 dimes: 1040
Total with 6 quarters AND 89 dimes: 1040
Total with 8 quarters AND 84 dimes: 1040
Total with 10 quarters AND 79 dimes: 1040
Total with 12 quarters AND 74 dimes: 1040
Total with 14 quarters AND 69 dimes: 1040
Total with 16 quarters AND 64 dimes: 1040
Total with 18 quarters AND 59 dimes: 1040
Total with 20 quarters AND 54 dimes: 1040
Total with 22 quarters AND 49 dimes: 1040
Total with 24 quarters AND 44 dimes: 1040
Total with 26 quarters AND 39 dimes: 1040
Total with 28 quarters AND 34 dimes: 1040
Total with 30 quarters AND 29 dimes: 1040
Total with 32 quarters AND 24 dimes: 1040
Total with 34 quarters AND 19 dimes: 1040
Total with 36 quarters AND 14 dimes: 1040
Total with 38 quarters AND 9 dimes: 1040
Total with 40 quarters AND 4 dimes: 1040
I think everyone just got raped by this script.
