• Member Avatar for Sherwin_4
    Sherwin_4

    Replied To a Post in Hailstone Sequence so far

    @AssertNull awesome code. Looking at my code compared to yours....I definitely live up to the beginner title. I apologize for the late reply. I pm you about my other classes …
  • Member Avatar for Sherwin_4
    Sherwin_4

    Replied To a Post in Hailstone Sequence so far

    @JamesCherrill Thank you for that review. At the time back when I was working soley on that function, I believe I was looking to have it do more that one …
  • Member Avatar for Sherwin_4
    Sherwin_4

    Replied To a Post in Hailstone Sequence so far

    Here is my max function. The was pretty tricky, but writing it out helped a lot. /* // Sequence_Max(int n) // Takes an integer 'n' and returns the largest value …
  • Member Avatar for Sherwin_4
    Sherwin_4

    Replied To a Post in Hailstone Sequence so far

    @JamesCherrill I was able to come up with the following code yesterday afternoon in the library, what do you think? #include <iostream> #include <cstdio> #include <vector> using namespace std; //Function …
  • Member Avatar for Sherwin_4
    Sherwin_4

    Replied To a Post in Hailstone Sequence so far

    *Update Number 2* I decided to scrap everything and start over. I'm going by function to function. *Current Issue is with function hailstone_Sequence(int n)* I'm currently getting a complication error …
  • Member Avatar for Sherwin_4
    Sherwin_4

    Replied To a Post in Hailstone Sequence so far

    ***Update*** Here is output for the code I provided in my original question: What number shall I start with? 7 The hailstone of sequence starting at 7 is: 7 22 …
  • Member Avatar for Sherwin_4
    Sherwin_4

    Replied To a Post in Hailstone Sequence so far

    @rproffitt I have spent days getting to where I am with the current code above. I would like to learn how to overcome my current issue without copying a completed …
  • Member Avatar for Sherwin_4
    Sherwin_4

    Created Hailstone Sequence so far

    Good afternoon everyone, I'm currently working towards to provide the following output for my code: What number shall i start with? 7 The hailstone sequence starting at 7 is: 7 …
  • Member Avatar for Sherwin_4
    Sherwin_4

    Began Watching Hailstone Sequence so far

    Good afternoon everyone, I'm currently working towards to provide the following output for my code: What number shall i start with? 7 The hailstone sequence starting at 7 is: 7 …

The End.