Search:

Type: Posts; User: ocmjt

Search: Search took 0.22 seconds.

  1. Replies
    13
    Views
    2,721

    Re: Calculate federal taxes program! Help!

    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 {

    /**
    *...
  2. Replies
    13
    Views
    2,721

    Re: Calculate federal taxes program! Help!

    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;...
  3. Replies
    13
    Views
    2,721

    Re: Calculate federal taxes program! Help!

    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...
  4. Replies
    13
    Views
    2,721

    Re: Calculate federal taxes program! Help!

    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...
  5. Replies
    13
    Views
    2,721

    Re: Calculate federal taxes program! Help!

    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!
  6. Replies
    13
    Views
    2,721

    Re: Calculate federal taxes program! Help!

    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...
  7. Replies
    13
    Views
    2,721

    Re: Calculate federal taxes program! Help!

    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...
  8. Replies
    13
    Views
    2,721

    Re: Calculate federal taxes program! Help!

    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?


    ...
  9. Replies
    13
    Views
    2,721

    Calculate federal taxes program! Help!

    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...
Results 1 to 9 of 9