Results 1 to 5 of 5
Thread: Qadratic Formula and Percentages
- 02-07-2009, 01:08 AM #1
Member
- Join Date
- Jan 2009
- Posts
- 4
- Rep Power
- 0
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!
- 02-07-2009, 01:29 AM #2
Senior Member
- Join Date
- Nov 2008
- Posts
- 286
- Rep Power
- 5
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?
Neil Coffey
Javamex - Java tutorials and performance info
- 02-07-2009, 01:39 AM #3
Member
- Join Date
- Feb 2009
- Posts
- 2
- Rep Power
- 0
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
- 02-07-2009, 02:25 AM #4
Member
- Join Date
- Jan 2009
- Posts
- 4
- Rep Power
- 0
how to do all of this in java.
- 02-07-2009, 03:07 AM #5
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,
CJSLChris S.
Difficult? This is Mission Impossible, not Mission Difficult. Difficult should be easy.
Similar Threads
-
program for a quadratic formula
By bbtgirl in forum New To JavaReplies: 9Last Post: 01-30-2009, 06:06 PM -
Formula on Maximum loan..
By esh21 in forum NetBeansReplies: 4Last Post: 08-14-2008, 02:27 PM -
create a formula from a string
By lemon3 in forum New To JavaReplies: 4Last Post: 07-18-2008, 09:24 PM -
Computing the area of a triangle using Heron's Formula
By Java Tip in forum java.langReplies: 0Last Post: 04-12-2008, 08:39 PM -
What is the formula?
By yuchuang in forum New To JavaReplies: 3Last Post: 04-30-2007, 10:00 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks