General programming

Moderators: None (Apply to moderate this forum)
Number of threads: 1642
Number of posts: 2791

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Edit Report
HELP!!!!! Posted by Can't think of a nam on 31 Mar 1999 at 4:44 PM
I have a homework assignment. Part of it is to generate pascals triangle. But here's the problem. The normal solution is recursive. That was an earlier assignment. We have to eliminate the recursion by using a stack object that we created in a previous part of the homework. That would be no problem, I understand that. The problem is, I added the class a bit late, and missed the original homework. So now I don't have the recursive code for it. Because of that, I cannot see how the code works, I don't understand how to make the triangle because the explanation was in the previous homework. I'm sure that many many schools give pascals triangle as homework. some of you should be familiar with it(if not tired of seeing it). Can you give me the recursive method? I can handle it from there. <p>
Thanks in advance to anyone who can help me!!


Edit Report
Recursive method.... Posted by Klepeter on 19 Aug 1999 at 1:22 PM
You're right, we all pass throught it at school. But why don't you ask to your collegue in your class? There's no shame about that and they will surtainly help you!!!!!<p>
Or ask to someone who had that course last year! He might pass you the whole stuff!<p>
<br>






 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.