Results 1 to 5 of 5
  1. #1
    bbtgirl is offline Member
    Join Date
    Jan 2009
    Posts
    4
    Rep Power
    0

    Default Qadratic Formula and Percentages

    I've got two questions I have no idea how to begin =S
    1) create a program for quadratic formula, to display x (subscript 1) and x (subscript 2) . The output should look like
    Enter perameter string:
    a=2, b=4, c=20

    2) write program that computes dividends per share as percentage of profit after taxes calculated as profitBeforeTaxes=revenue-cost. the net profit is computed as: profitBeforeTaxes*(1-taxRate). The imput and output operations should display:

    Enter Revenue:
    enter Cost: (this part the user enters the numbers)
    enter tax rate:
    Enter number of shares
    enter percentage of div

    and then the program is suppose to give you all the answers

    :confused:
    any help would be much appreciated!

  2. #2
    neilcoffey is offline Senior Member
    Join Date
    Nov 2008
    Posts
    286
    Rep Power
    11

    Default

    Well, the place to begin is to understand What The Program Needs To Do before trying to turn the description into Java. So: is your problem understanding the mathematics/requirements of the tasks, or is your problem how to translate those requirements into Java?

  3. #3
    thenewsaw is offline Member
    Join Date
    Feb 2009
    Posts
    2
    Rep Power
    0

    Default

    ah..i am new in this forum. can you help me? I dont know how to post or start a new forum. I have a problem with my roll dice using java.util.Random;

    thanks

  4. #4
    bbtgirl is offline Member
    Join Date
    Jan 2009
    Posts
    4
    Rep Power
    0

    Default

    how to do all of this in java.

  5. #5
    CJSLMAN's Avatar
    CJSLMAN is offline Moderator
    Join Date
    Oct 2008
    Location
    Mexico
    Posts
    1,159
    Rep Power
    12

    Default whoa...

    The forum doesn't work that way. If you have a specific question or problem, the forum will help you to figure it out, but it is not a code factory.
    • What part have are you stuck on ?
    • What code have you tried... what have you tried so far ?

    Luck,
    CJSL
    Chris S.
    Difficult? This is Mission Impossible, not Mission Difficult. Difficult should be easy.

Similar Threads

  1. program for a quadratic formula
    By bbtgirl in forum New To Java
    Replies: 9
    Last Post: 01-30-2009, 06:06 PM
  2. Formula on Maximum loan..
    By esh21 in forum NetBeans
    Replies: 4
    Last Post: 08-14-2008, 02:27 PM
  3. create a formula from a string
    By lemon3 in forum New To Java
    Replies: 4
    Last Post: 07-18-2008, 09:24 PM
  4. Replies: 0
    Last Post: 04-12-2008, 08:39 PM
  5. What is the formula?
    By yuchuang in forum New To Java
    Replies: 3
    Last Post: 04-30-2007, 10:00 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
  •