Yes, berkeman is right -- this really is a state machine. What are you in, some sort of arch and org class? Your book should give you diagrams that are close enough for you to simply modify to fit your design. The "states" are simply your requirements -- if the previous input is zero, do this...
Thanks for the pointers.
No, there aren't examples in my calc book :smile: I've taken calc I, II and III, but this is for my Algorithms computer science class.
Is this just for fun or for an assignment? I had to create a game for my object-oriented design class last semester -- it took the entire semester, over 100 hours of work, and my combined knowledge not just of the language I was working in, but of programming skills -- which is 4 college years...
I'm having a problem with a Big-Oh problem, and I think it's more that I'm not understanding what the problem is asking and that I'm not completely understanding the definitions. There are two parts of the problem:
Here is the problem verbatim...