User Profile

Collapse

Profile Sidebar

Collapse
johnise78
johnise78
Last Activity: Dec 12 '07, 06:47 PM
Joined: Sep 20 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • johnise78
    replied to if-else statement
    in Java
    Thanks for you help I was able to get it running but am not getting the correct output. I should be able to enter a salary and it should tell me waht tax catergory am in.

    Output should look like this

    Enter an annual salary (ex...40350) => 34400

    The tax rate category for an annual salary of $34400 is 3

    [CODE=java] /*
    * AnnualSalary.ja va
    *
    * Created on September 18, 2007,...
    See more | Go to post
    Last edited by r035198x; Sep 20 '07, 07:14 PM. Reason: added code tags

    Leave a comment:


  • johnise78
    started a topic if-else statement
    in Java

    if-else statement

    I have looked over this program numerous of times and cant seem to get it running, can some one please guide me in the right direction.
    My error information is AnnualSalary.ja va:33: ' ) ' expected if (AnnualSalary <= 15,000) {


    [CODE=java] /*
    * AnnualSalary.ja va
    *
    * Created on September 18, 2007, 9:56 AM
    *
    * To change this template, choose Tools | Template Manager
    * and open the...
    See more | Go to post
No activity results to display
Show More
Working...