Re: Program will add but cannot get it to multiply
- From: "Daniel Dyer" <dan@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 31 Jan 2006 22:05:23 -0000
On Tue, 31 Jan 2006 21:58:15 -0000, shannon <shannondingle@xxxxxxxxxxxxx> wrote:
I have tired multiplying numbers from 1 to 20 but that doesn't work for me, How can i get it to work as it will suffice.
What code do you have now? Did you change the type of sum from int to long? You will only be able to do 12! with an int.
Dan.
-- Daniel Dyer http://www.dandyer.co.uk .
- References:
- Program will add but cannot get it to multiply
- From: shannon
- Re: Program will add but cannot get it to multiply
- From: Daniel Dyer
- Re: Program will add but cannot get it to multiply
- From: Daniel Dyer
- Re: Program will add but cannot get it to multiply
- From: shannon
- Re: Program will add but cannot get it to multiply
- From: Daniel Dyer
- Re: Program will add but cannot get it to multiply
- From: shannon
- Program will add but cannot get it to multiply
- Prev by Date: Re: Program will add but cannot get it to multiply
- Previous by thread: Re: Program will add but cannot get it to multiply
- Next by thread: Re: Program will add but cannot get it to multiply
- Index(es):