Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID

Categories

We have migrated to a new platform! Please note that you will need to reset your password to log in (your credentials are still in-tact though). Please contact lee@programmersheaven.com if you have questions.
Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

HELP!!!!!

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.


Thanks in advance to anyone who can help me!!


Comments

  • 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!!!!!


    Or ask to someone who had that course last year! He might pass you the whole stuff!







Sign In or Register to comment.