Thanks. I finally got the needed response from the computer with the equals-method's help.
Type: Posts; User: SOG
Thanks. I finally got the needed response from the computer with the equals-method's help.
The problem I should've mentioned is that the current loop I have now just makes my method return the same string-statement I typed in as a user.
For example:
The program's output comes as a...
I got past the part where there are too many elements, but I still need help finding the word-replacement substring for the program.
Here is my current code-setup:
// Use the...
I notice that my method doesn't work even though I tried to get it's while-loop set-up to do the following things:
Have each token of a string get put into another one
Replace each...
I got the method to show the most frequent-character now. Thanks for your help.
Now all I would have to do is do this sort of thing on a bigger scale (with a bigger loop-setup, but...
The purpose of executing the program is just for home-project practice with a textbook, but I wanted to see if I could get it done this way: without the warning for the computer. So, I need help with...
What I was asking in the last question was if it was practical to get either me or the user to tell the computer what characters to look for beforehand, so making an array of characters to look for...
I realize - now - that I must have gotten ahead of myself with the logic: I thought that using a 2D-array would help to arrange the characters as if they were in rows and columns. I tried to count...
I went ahead and redid my code to try something out, so I might as well give it to the forum as is - it's part of what I'm doing. Instead of using Unicode numbers, I just decided to use a...
My goal is to get the most frequent character referred to in the title by:
Storing character-set in an array
Rearranging the array - somehow - as Unicode-numbers
Comparing the...
I got what I wanted from this thread. Thanks!
Yes, the output is correct, I have tested the second part too, and more than one division has appeared in a quarter. I somehow believe this works because of the way I setup the new array-variable -...
I solved the problem with something else to consider: one different array variable, and one new loop-control variable Here is how it works in code...
// Use these nested-loops...
I thought I made the highestQuart-variable an accumulator and now I realize that it does work as a non-accumulator, but I believe they don't all print because 3 more variables are needed to store the...
I answered each question one at a time.
I have, and I believe it has to do with the way I declared highestQuart - as an accumulator, somehow - so I need help with that. Now I think I may have to...
I remember two important things you said...
...and...
So, I wrote this...
I'm doing something on my own myself: using a textbook to study without a class and/or tutorial. I was also thinking about making money one of these days when it comes to programming. I wonder how...
I see. The bottom-line though, is that a program sells enough as far as finances are concerned, isn't it?
It is normal for a programmer to take weeks, even months to finish a program - no matter how big or small it is, right? (I'm trying to be realistic about my future.)
I did that part as well with this setup below...
// Use these nested-loops to display the highest sales-division for a quarter.
for (int rows = 0; rows <...
I did what you told me to do...
// Use these nested-loops to display the highest sales-division for a quarter.
for (int rows = 0; rows < QUARTERS; rows++)
...
The information given to me was that the if-statement worked 3 times, but that something I haven't identified in the if-statement stopped it from printing a 4th one. Maybe it was a newline-statement...
I typed in a println-statement that says "Statement printout here." and it appeared 3 times in a row.
So, in other words, I guess we use Java like English - a language that can change over time?
I haven't solved the problem yet, but I have made some adjustments. Up in the higher-part of the program, I've tried to follow or copy (to an extent) what my textbook was saying about...