Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 4 of 4

Thread: Very Beginner Questions. Need Help Please :/

  1. #1
    Junior Member
    Join Date
    Feb 2014
    Posts
    5
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default Very Beginner Questions. Need Help Please :/

    Hopefully these haven't been answered before, but honestly I didn't even know what to search for. I am a beginner beginner beginner, and I can't stress that enough. I'm in my second week of an 8 month series with no prior programming knowledge whatsoever. The concepts have made sense thus far - it's just remembering the math needed that's been most time consuming ( just turned 30, it's nowhere near fresh in my mind ).

    That being said, I'm completely stuck like chuck on a few exercises, and need help. These aren't graded assignments or anything, just suggested activities. So I'm not necessarily just looking for the code so I can run along with it, but I AM a visual learner and usually learn best when I can see something paired with the problem to put two and two together.

    Whew. Okay.

    The first one I'm struggling with involves:

    having the user enter 2 words,
    print both words on one line,
    separating the 2 words with enough dots so the total character length is 30.

    I know I need to use a System.out.println(".") inside a loop body but I have no idea how, and the related chapter does nothing to explain this.



    The second exercise involves:

    having the user input an integer,
    we then ask the user for THAT amount of integers and then find the sum, i.e.

    How many integers will be added?
    5
    Enter an integer:
    1
    Enter an integer:
    2
    Enter an integer:
    3
    etc, etc.

    Once again, the related chapter has no examples of how to perform this aside from use a counting loop.

    I was going to ask about 1 more exercise, but this is a lot for one post, so I may wait until I can grasp the ideas and concepts behind these two.

    Thanks in advance for any help at all! I need every bit I can get, for fear of falling behind so early in this series of classes is getting to me.


  2. #2
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    4,504
    My Mood
    Mellow
    Thanks
    153
    Thanked 610 Times in 597 Posts

    Default Re: Very Beginner Questions. Need Help Please :/

    Did you mark the thread solved? Are you done with it then?

  3. #3
    Junior Member
    Join Date
    Feb 2014
    Posts
    5
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default Re: Very Beginner Questions. Need Help Please :/

    yes I marked it solved. I had some help and got it figured out. you can delete the thread or if I should post the code (albeit not mine) I can do that for future reference.

  4. #4
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    4,504
    My Mood
    Mellow
    Thanks
    153
    Thanked 610 Times in 597 Posts

    Default Re: Very Beginner Questions. Need Help Please :/

    Not necessary, especially if it's not yours. Better luck writing your own next time.

Similar Threads

  1. Few Beginner Questions
    By New Coder in forum What's Wrong With My Code?
    Replies: 6
    Last Post: December 13th, 2013, 06:14 AM
  2. Some Beginner questions
    By itzraininz in forum Object Oriented Programming
    Replies: 10
    Last Post: February 25th, 2013, 09:23 AM
  3. List of my Java3D Questions, and Proguard questions
    By Zachary1234 in forum Java SE APIs
    Replies: 0
    Last Post: November 16th, 2012, 08:40 PM
  4. Few questions from beginner
    By Mefimess in forum Java Theory & Questions
    Replies: 2
    Last Post: November 6th, 2012, 10:03 AM
  5. Beginner: some questions
    By norenberg in forum Java Theory & Questions
    Replies: 3
    Last Post: August 4th, 2012, 05:57 PM