Randuff

Randuff

13p

9 comments posted · 0 followers · following 0

13 years ago @ http://randuff.blogspo... - CS106 Programming Meth... · 1 reply · +2 points

I think you accidentally added a semicolon in line 30, so the break statement in the next line would always be executed regardless of whether the input is equal to the sentinel or not.

Also, line 34-39 should be included in the while loop, or else the minimum and maximum values wouldn't be updated properly. Additionally, line 37 should be if( input < minNum) instead of if( input> minNum).

Hopefully these will fix your problem. I don't have eclipse on my new computer and I am having trouble downloading it so I can't actually test the code out myself...

13 years ago @ http://randuff.blogspo... - CS106 Programming Meth... · 0 replies · +1 points

No problem. :)

13 years ago @ http://randuff.blogspo... - CS106 Programming Meth... · 0 replies · +1 points

numOfBricks is a parameter of the fillRow method (see below):
private void fillRow (int yLocation, int numOfBricks)

Sorry that the way the the code is chopped off makes it a bit confusing.

13 years ago @ http://randuff.blogspo... - Blogger: How to Change... · 0 replies · +1 points

I'm glad that it helped. ^^

13 years ago @ http://randuff.blogspo... - Grade 11 English ISP B... · 0 replies · +1 points

For my school, it stands for "Independent Study Project." It's basically the culminating project for the course worth 15% of the final mark.

13 years ago @ http://randuff.blogspo... - About Me · 0 replies · +2 points

Thank you. :)

13 years ago @ http://randuff.blogspo... - Forces and Motion #1: ... · 0 replies · +1 points

Thanks for your comment.
I have added some examples (for scalar and vector), but I can't think of any diagram that is applicable to any of these terms. Also, the posts about chemistry and physics are intended more as study tools for myself, so many of them may seem a bit incomplete or have a lack of explanations/details. I would like to improve these posts, but I wouldn't want to spend too much time on any one of them (for the primary goal of these posts is to let myself study).

But again, thanks for your comment. And if you have any other suggestions, please do not hesitate to leave another comment. :)

13 years ago @ http://randuff.blogspo... - Blogger: How to Change... · 0 replies · +1 points

I'm glad that it worked for you. :)
Also, I have changed the steps a bit so that it may be a bit less confusing.

13 years ago @ http://randuff.blogspo... - Blogger: How to Change... · 1 reply · +1 points

Sorry, but I am really no expert on this, and I don't know any other solution except the one mentioned in the post (this was the only one that worked for me). :(

And are certain templates better than the others? I thought the only difference between the templates is their looks...
(If you still want my opinion, I think your template looks very neat and organized.)