Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > C Moderated > product of odd ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 10 Topic 987 of 1142
Post > Topic >>

product of odd integers

by logocide <logocide@[EMAIL PROTECTED] > Aug 8, 2007 at 05:15 PM

Hello,
Im trying to figure out how to get the product of all the odd integers
between 1&15.
Im using a for loop such as  for (int count = 1; count <= 15; count +=
2)
                                              {
                                                       product *=
count;

But i cant seem to get the right result. Anyway I've been studying C
and linux programing for awhile. And i thought maybe breaking out of
isolation and asking this question might help yield a better
understanding.    Thank for your time**
-- 
comp.lang.c.moderated - moderation address: clcm@[EMAIL PROTECTED]
 -- you must
have an appropriate newsgroups line in your header for your mail to be
seen,
or the newsgroup name in square brackets in the subject line.  Sorry.
 




 10 Posts in Topic:
product of odd integers
logocide <logocide@[EM  2007-08-08 17:15:57 
Re: product of odd integers
WillerZ <newsreplies@[  2007-08-15 17:42:51 
Re: product of odd integers
=?ISO-8859-1?Q?Hans-Bernh  2007-08-15 17:42:56 
Re: product of odd integers
Keith Thompson <kst-u@  2007-08-15 17:43:01 
Re: product of odd integers
Barry Schwarz <schwarz  2007-08-15 17:43:06 
Re: product of odd integers
PicO <bekerpico@[EMAIL  2007-08-15 17:43:14 
Re: product of odd integers
rlb@[EMAIL PROTECTED] (R  2007-08-15 17:43:16 
Re: product of odd integers
"Douglas A. Gwyn&quo  2007-08-15 17:43:22 
Re: product of odd integers
Kenneth Brody <kenbrod  2007-08-15 17:43:25 
Re: product of odd integers
Jean-Marc Gulliet <jea  2007-08-15 17:43:32 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Aug 27 17:42:42 CDT 2008.