I think I got it..thanks a lot for your help! Can you explain what you mean with newline characters?
and does this look right?
import java.util.Scanner;
public class IncomeTax {
/**
*...
Type: Posts; User: ocmjt
I think I got it..thanks a lot for your help! Can you explain what you mean with newline characters?
and does this look right?
import java.util.Scanner;
public class IncomeTax {
/**
*...
I dont think I put it in the right spot? Still no answer comes up?
public static void main(String[] args) {
Scanner keyboard = new Scanner(System.in);
final double LOWTAXRATE = 0.1;...
Thank you again helloworld. I have the dollar sign now but is there any way I can get it not to use the percent in the answer? And for the second part I did what you said and with that the tax answer...
Ok I have messed with the calculations and they work correctly now and it now tells me the tax and the sum correctly. I only have two more questions to make it perfect if someone would be kind enough...
but no answer comes up when i enter the income*...Can someone help me, I need it to tell me the tax every time and then the sum of the taxes at the end when I hit -1. Thanks!
Alright I added that and it asked the question now but now answer comes up when I turn it in. Please someone tell me what is wrong with this code? Thankyouuuuuu!!!!
public static void...
Thank you for your help helloworld..I deleted all the tax=keyboard.nextDoubles but if I do that I have to do double tax=0; at the top?
This is what I have now and nothing even comes up when I run...
This is what I have so far..I think I am close someone please help? I have errors under income and tax and it says I should make them say =0 next to the double but I dont think thats right?
...
Hello everyone! My names Mary and I'm very new to java and computer programming in general, taking my first class at school right now. We have been asked to write a java program that calculates...