# I'm new to Java. Help please.

• October 19th, 2013, 10:56 AM
iCurtisIT
I'm new to Java. Help please.
Hello :)

Well I'm new to all this Java stuff. I'm doing it as one of my modules in my degree.

I have watched various videos and read the odd book, but to be honest none of it makes much sense or sinks in. In class they have give us some tutorials that we do Step by Step, (very basic tasks, like simple math equations, shapes, volume calculator, etc). I was wandering if anyone knew any place I could get tutorials like this that I could just get on with and do.

I would like tutorials that give me tasks to do, and explain why I'm doing each thing.

This is an example of one of the tutorials that I have already done

"Exercise 3: Using rational numbers

In all of the previous exercises you’ve looked at, all of your manipulation has been either of
strings, or integers. However, Java also allows other types of data to be used. In particular, you often want to make
use of rational (non-integer) numbers. When you’re programming, you’ll be representing these numbers as decimal numbers (i.e. in base 10).
To get to grips with using decimal numbers, write a program that does the following:

1. Initialises five decimal numbers as 2.3, 1.7, 12.6, 1.65 and 3.3.
2. Prints the five decimal numbers.
3. Converts each decimal number to the nearest integer.
5. Prints the sum and average of the five integers.

Check that the result of your program returns the correct result by hand."