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.