Added: 4 months ago
From: BrandonioProductions
Views: 179
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (9)

Sign In or Sign Up now to post a comment!
  • Comment removed

  • Hey! Good effort. Just like to say that, you can easily solve this problem in seven lines. You can create a for loop going from 0 to 999 and if the number is divisble by 3 or 5 then total += number.Then print the number. That's it. You don't need to create arrays or anything. But that is just a different way of looking at it. I thought, I would just show you from the my perspective, but AWESOME you got the answer :D

  • This is such a poor solution for such a simple problem.

    A) Use a for loop!!!

    B) The problem only wants you to find the sum NOT all of the numbers so why do you have a counter and an array.

    Absolutely terrible.

  • @sprogsy10

    A) While loops work just as well, and are actually easier for me... I just don't like for loops that much.

    B)Thank you for your response to this video, but, there is no need to insult my program. It gets the job done, and does it well.

  • @BrandonioProductions There's no such thing as a for loop in java haha my bad. Still the program you made wasn't very simple and considering you have a lot of learners watching your videos, I think you should have to took a lot more care especially when the problem was this simple.

  • @sprogsy10 Actually, there is such thing as a for loop in java! But, I do admit it was a little confusing to follow this video, and that's why I didn't label it as an official entry into the Java tutorial series. Keep in mind, I am learning too! I am by no means a master of Java, and I am just teaching what I have learned.

  • @BrandonioProductions Fair enough.

  • @M3andMyMonk3y I watch all his videos I am just surprised that he is not on front page of YouTube.

  • Great videos! You are a very impressive programmer

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more