factorial numbers!!!

Please support our Java advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: May 2008
Posts: 55
Reputation: LevelSix is an unknown quantity at this point 
Solved Threads: 3
LevelSix's Avatar
LevelSix LevelSix is offline Offline
Junior Poster in Training

Re: factorial numbers!!!

 
0
  #11
Apr 7th, 2009
He mentions needing to use a for loop, not recursion. At least that is how I took it.

Taking user input is easily done using a Scanner.
Reply With Quote Quick reply to this message  
Join Date: Feb 2009
Posts: 1,970
Reputation: tux4life has a reputation beyond repute tux4life has a reputation beyond repute tux4life has a reputation beyond repute tux4life has a reputation beyond repute tux4life has a reputation beyond repute tux4life has a reputation beyond repute tux4life has a reputation beyond repute tux4life has a reputation beyond repute tux4life has a reputation beyond repute tux4life has a reputation beyond repute tux4life has a reputation beyond repute 
Solved Threads: 214
tux4life's Avatar
tux4life tux4life is offline Offline
Posting Virtuoso

Re: factorial numbers!!!

 
0
  #12
Apr 8th, 2009
Originally Posted by LevelSix View Post
He mentions needing to use a for loop, not recursion. At least that is how I took it.

Taking user input is easily done using a Scanner.
Yup, that's right !
"Never argue with idiots, they just drag you down to their level and then beat you with experience."
Reply With Quote Quick reply to this message  
Join Date: Mar 2009
Posts: 211
Reputation: rahul8590 is on a distinguished road 
Solved Threads: 11
rahul8590's Avatar
rahul8590 rahul8590 is offline Offline
Posting Whiz in Training

Re: factorial numbers!!!

 
0
  #13
Apr 8th, 2009
He mentions needing to use a for loop, not recursion. At least that is how I took it.
well i can directly give him the code , great deal . but wats the point he wont learn anything by that . at least by giving him the recursion one i have made is job easier to think . all that he has to do is to convert the recursion to iterative format .
Last edited by rahul8590; Apr 8th, 2009 at 1:56 pm.
<?php
$data = $_POST['data'];
if(empty($data)) {
echo "byte me" ; }
?>
Reply With Quote Quick reply to this message  
Join Date: May 2008
Posts: 55
Reputation: LevelSix is an unknown quantity at this point 
Solved Threads: 3
LevelSix's Avatar
LevelSix LevelSix is offline Offline
Junior Poster in Training

Re: factorial numbers!!!

 
0
  #14
Apr 8th, 2009
I was just trying to stem any confusion. I think we can all drop this topic, doesn't look like the starter is interested.
Reply With Quote Quick reply to this message  
Join Date: Dec 2007
Posts: 1,718
Reputation: javaAddict is a name known to all javaAddict is a name known to all javaAddict is a name known to all javaAddict is a name known to all javaAddict is a name known to all javaAddict is a name known to all 
Solved Threads: 230
Featured Poster
javaAddict's Avatar
javaAddict javaAddict is offline Offline
Posting Virtuoso

Re: factorial numbers!!!

 
0
  #15
Apr 8th, 2009
Originally Posted by LevelSix View Post
I was just trying to stem any confusion. I think we can all drop this topic, doesn't look like the starter is interested.
Agree
Check out my New Bike at my Public Profile at the "About Me" tab
Reply With Quote Quick reply to this message  
Join Date: Feb 2009
Posts: 1,970
Reputation: tux4life has a reputation beyond repute tux4life has a reputation beyond repute tux4life has a reputation beyond repute tux4life has a reputation beyond repute tux4life has a reputation beyond repute tux4life has a reputation beyond repute tux4life has a reputation beyond repute tux4life has a reputation beyond repute tux4life has a reputation beyond repute tux4life has a reputation beyond repute tux4life has a reputation beyond repute 
Solved Threads: 214
tux4life's Avatar
tux4life tux4life is offline Offline
Posting Virtuoso

Re: factorial numbers!!!

 
0
  #16
Apr 8th, 2009
Originally Posted by LevelSix View Post
I was just trying to stem any confusion. I think we can all drop this topic, doesn't look like the starter is interested.
Agreed, he has only one post in this thread ...
"Never argue with idiots, they just drag you down to their level and then beat you with experience."
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Java Forum


Views: 1188 | Replies: 15
Thread Tools Search this Thread



Tag cloud for Java
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC