Re: Why so many decimal points in my basic code?
I'm not really sure how to make this any more clear without giving away the solution out-right...
Again, please use [code] tags around your code.
Code java:
System.out.println("Your fixed salary is $" + b +" ");
//this will print result onto output screen
System.out.println("With the current commission being 10% of total sales," +
"your total annual compensation is $" + c);
//this will print programs desired result on output screen to user
These are the lines in your current code which print out what you have right now. This would be a good place to modify/replace the current code with new code which properly formats the output.