Worker's weekly assessable income : XXXXXX.XX
Weekly income tax : XXXXXX.XX
Medicare levy : XX.XX
Child Support contribution : XXX.XX
: ========
Take home pay : XXX.XX
Now the actual outputs are fine but I need to get the extra lines in place and the :======= as shown in the 2nd last line. I am not too sure how to go about this, can anyone point me in the right direction.
My output current appears like this:
Although in realty the figues are actually in line.
Well, it appears that you're asking to output a blank line and a line with dashes or equals signs in it. I don't know why you can't just use System.out.println("") and System.out.println("=============>") or whatever.
Thanks Ralph, I had though about doing that but wasn't too sure if there was a particular way of doing these types of things. (I am only in my 3rd week of doing these types of programs).