I'm attempting to reverse a linked list of integers recursively. in order to test my code, I'm doing unit test. Anyway, I can't get the list to reverse. I pretty much know why, and I have an idea of how it should work; however, I can't seem to put those thoughts into code. I think my problems start ...
You pretty much have to set another condition or 2 within the while loop. oh and I forgot to make it so it ask you to enter another order price. Its pretty much the exact same thing, but under a different condition. Good luck.
Heres what I can up with in the short amount of time I have. Please remember I'm still learning, but what I put here should give you an idea of what you need to do. Also, I will leave basic stuff out that you should know by now: double order_price; String more_purchases = ""; int num_of_or...
I think I can answer the first one, but I'm also still learning, so someone can check me on this: public String multiConcat(String word, int number) { String concated = ""; if (number >= 2) { for (int i = 0; i <= number; i++) { concated += word ...