I'm trying to write a method that expects an array of int and two intS parameters, which represent the starting position and ending position of a subarray within the parameter array.
So here's the...
Type: Posts; User: coffecupcake
I'm trying to write a method that expects an array of int and two intS parameters, which represent the starting position and ending position of a subarray within the parameter array.
So here's the...
AH! Nevermind. I needed to change a logical operator.
The output should be:
Original String: XQAC ZVM
w/ Suffix: XQCZVM
w/ Plural: XQACCH
Original String: PDAE AV
w/ Suffix: PDAEAV
w/ Plural: PDAEGH
Original String: SNIC SY
Here's the code! I've gotten everything to work properly, and all my if statements are correct- but my output is strange and I can't figure out why it's doing this:
Original String: XQAC ZVM...
I've been trying to fix this but it keeps telling me that my variables have not been initialized. I'm getting very confused and frustrated.. Help?
Here's my attempt at fixing the code...
//Note:...
Thank you, I will try looking at all of these and see where I get. I got it down to one error, but when I fix that one error, another pops up somewhere! Frustrating.
Thanks again!
Hello! For my computer science class, I have to convert a program with global variables to a program with all instantiated variables. I tried... and, well, the program works. Java gets it! But, I do...
Haha no, I mean I myself make silly errors :P
Thank you both! I was indeed missing my tokenizer. (I miss all the silly things...)
Thanks again :D
Hello, I'm quite obviously new the the forum but joined in hopes of figuring out various problems with my coding. I don't quite understand the error message I'm given (I'm very very new to Java...