Ahh ok, that makes sense now. Thanks very much for all your help! I'll be back next week with my subtraction program for everyone to critique (or if I dont do it before wednesday, I'll be on in about...
Type: Posts; User: Saradus
Ahh ok, that makes sense now. Thanks very much for all your help! I'll be back next week with my subtraction program for everyone to critique (or if I dont do it before wednesday, I'll be on in about...
Thats true, they don't make it completely clear.... They say "represent as an array", that could mean convert, it could mean taking the string and pulling it apart as a character array.
I'll check...
Thats some good optimisation there! I can't do something like this though as it's strictly stated in the project guidelines that the input values are to be converted into arrays and then...
The two for loops and repeated if-else statement issue has been solved:
for(int i = 1; i < vMax; i++){
if(vs1-i < 0){
vAdd1 = 0;
}
else {
...
Scratch that, on another forum Character.digit() was brought up, not sure why I didn't have that in mind first time round!
Also, on the other forum, someone highlighted the fact that creating two...
Thanks for the comments! I actually added the throw in as an afterthought. I wasn't sure whether it was required or not so took a gamble. I've always been a little iffy on exceptions and errors so...
Hi I'm new here! This isn't quite my first post, already made a couple, but just noticed the "Introductions" forum so thought I better make a quick thread here just to make myself known!
I'm...
Hello everyone, thought I'd join up as this looks like a good, popular java programming community and a place to learn new things.
I am currently doing a summer research project on the...