Results 1 to 2 of 2
  1. #1
    Rikky is offline Member
    Join Date
    Dec 2012
    Posts
    4
    Rep Power
    0

    Default Arithmetic Methods

    a. Create an application named ArithmeticMethods whose main() method holds
    two integer variables. Assign values to the variables. In turn, pass each value to
    methods named displayNumberPlus10(), displayNumberPlus100(), and
    displayNumberPlus1000(). Create each method to perform the task its name
    implies.

    b. Modify the ArithmeticMethods class to accept the values of the two integers from
    a user at the keyboard.

  2. #2
    jim829 is offline Senior Member
    Join Date
    Jan 2013
    Location
    Northern Virginia, United States
    Posts
    6,226
    Rep Power
    14

    Default Re: Arithmetic Methods

    Do you have a question?

    Regards,
    Jim
    The JavaTM Tutorials | SSCCE | Java Naming Conventions
    Poor planning on your part does not constitute an emergency on my part

Similar Threads

  1. Arithmetic exception
    By dojob in forum New To Java
    Replies: 8
    Last Post: 07-22-2013, 05:07 PM
  2. help with a Loop(arithmetic)
    By derb2k2 in forum New To Java
    Replies: 6
    Last Post: 01-26-2012, 01:15 PM
  3. Polynomials Arithmetic
    By thisisIT in forum New To Java
    Replies: 3
    Last Post: 03-09-2010, 01:27 PM
  4. Arithmetic Stacks
    By unc123w in forum New To Java
    Replies: 22
    Last Post: 10-21-2008, 08:24 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •