Hello. I am a college student in a Java class. I am working on an assignment, that I believe my code is correct, but after its compiled and ran I only get values back for the last statement. Any help would be greatly appreciated!

Here is the problem: Math.floor may be used to round a number to a specific decimal place. The statement: y = Math.floor ( x * 10 + 0.5) / 10; rounds x to the tenths position (i.e. first position to the...