Hey all. New to the forums, New to
Java. Just a little background, I'm taking two classes this semester in programming. A Java basics class and a Mobile Programming class which has a prerequisite of the Java Basics class, but the allowed me to take both simultaneously. I don't have my first Java Basics class until later this week, but I'm trying to do the Mobile Programming homework, and I realize now I'm in a world of trouble. The book doesn't offer ANY instructions on how to program and assumes you know some basics (hence the prerequisite).
I think that once I get rolling in the basics class, I'll be able to use what I learn that week to do my assignments in the Mobile Programming class. But for now, I'm completely stumped. I've set up with NetBeans and all that happy horseshit. Took me a few hours of research and trial of other programs before I came across it. So far it works, I wrote my exercise one program. Write a program that displays the numbers 1-10 onscreen. While this may seem easy to many of you, it required a lot of reading and work for someone with zero programming experience:
So I'm on the second assignment I need to do for the week and I'm completely stumped. I've tried searching and reading in both my text books and have no idea. Looking for some guidance and hopefully some education on this stuff so maybe I can get through this class.
Program I need to write is this: Write a program that uses a loop to display the first 10 positive, even integers onscreen.
I know this probably seems like the easiest thing in the world for most people, I'm just hoping someone can provide me with some knowledge on how to write this, but more importantly an explanation of the code and how it works.
Regards
TravisTehChimp