wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes Mathematics in Java language Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Mathematics in Java language " Watch "Mathematics in Java language " New topic
Author

Mathematics in Java language

Lloyd Wilson
Greenhorn

Joined: Jul 15, 2003
Posts: 10
I have an assignment due tomorrow to create a stock market screen. It is suppose to display the stock symbol, purchase price, number of shares, the current stock price, and then calculate the following worth bought gain/loss. I do not have a clue were to start. If anyone could help, please do feel free to e-mail me any comments. Thank you in advance.
P.S. there should be at least nine methods for this class.
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
Sounds like this book could be a good read for you
Java 2 From Scratch
from Amazon -
"Editorial Reviews
Book Description
Java 2 From Scratch walks you through the analysis, design and implementation of a functioning application using Java 2. Learn all the critical programming concepts and techniques associated with the language in the context of creating a functioning Stock Market Tracker/Analyzer. Each chapter builds on the previous with a casual tone, in-depth examples, and detailed steps to ultimately create a working stock market tracker. Key areas addressed are user interface design, SWING user interface, Internet communication, file I/O, painting/drawing, and brief introductions to JDBC and RMI. "
Lloyd Wilson
Greenhorn

Joined: Jul 15, 2003
Posts: 10
I ordered the book; although I do not believe I will be able to have it read by tomorrow. Thanks. :roll: My page
Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9044
    
  10
Can you write what you have in mind in English, i.e. pseudocode? In other words, are you stuck on the logic of the problem or on the actual Java syntax of the problem?


JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
Gabriel White
Ranch Hand

Joined: Mar 02, 2003
Posts: 233
Yeah we just love doing homework for people...oops thats me too. My bad
Stan James
(instanceof Sidekick)
Ranch Hand

Joined: Jan 29, 2003
Posts: 8791
Waddya think ... is Trunklid going to fly with the name police?


A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
Barry Gaunt
Ranch Hand

Joined: Aug 03, 2002
Posts: 7729
Originally posted by Stan James:
Waddya think ... is Trunklid going to fly with the name police?


Well, first I gotta figure if it's a real moniker or not.
Too busy right now, but back soon...


Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
Gabriel White
Ranch Hand

Joined: Mar 02, 2003
Posts: 233
That could be his name, but I dunno bout the last name...kinda hard to pronounce. Guess you have to say it real fast.
Barry Gaunt
Ranch Hand

Joined: Aug 03, 2002
Posts: 7729
Ok, investigations completed.
"Trunklid", welcome to JavaRanch! Please take time to re-read JavaRanch's naming policy and change your displayed name accordingly.
Thanks in advance,
-Barry
Jim Yingst
Wanderer
Sheriff

Joined: Jan 30, 2000
Posts: 18671
That could be his name, but I dunno bout the last name...kinda hard to pronounce.
Which reminds me, Steve, we've been meaning to talk to you about your own moniker...
Eh, what's that you say? Something about a pot calling a kettle black? I have no idea what you might be talking about...


"I'm not back." - Bill Harding, Twister
Michael Morris
Ranch Hand

Joined: Jan 30, 2002
Posts: 3451
Originally posted by Jim Yingst:
That could be his name, but I dunno bout the last name...kinda hard to pronounce.
Which reminds me, Steve, we've been meaning to talk to you about your own moniker...
Eh, what's that you say? Something about a pot calling a kettle black? I have no idea what you might be talking about...

Yea Jimbo, not many Polish types in Texas except for pickles. So SteveO do you not eat M&Ms because they are too hard to peel?


Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher
Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9044
    
  10
Originally posted by Steve Wysocki:
Yeah we just love doing homework for people...oops thats me too. My bad

I think we can "help" without "doing".
Gabriel White
Ranch Hand

Joined: Mar 02, 2003
Posts: 233
No, but I lost the recipe for ice, because the lady that had it died.
[ July 16, 2003: Message edited by: Steve Wysocki ]
Gabriel White
Ranch Hand

Joined: Mar 02, 2003
Posts: 233
Well at least I don't have 2 constanants at the end of my last name, so you KNOW how to pronounce my name.
j/k Jim... You da man, don't shoot me wit dem shooters ya hear.
btw, isn't this a great math forum.
Lloyd Wilson
Greenhorn

Joined: Jul 15, 2003
Posts: 10
Ok I did not see this before. My real name Lloyd Wilson was already taken Trunklid is my road name for the MC club aka "ADG" Apple Dumplin Gang I belong to... my homepage about me is My page it is not like I was trying to hide anything. So what do you do when your name is already taken
P.S. I am also a moderator on another board if that means anything, I understand your rules but what is a boy to do? The First Generation Monte Carlo Club
[ July 28, 2003: Message edited by: Trunklid ADG ]
Barry Gaunt
Ranch Hand

Joined: Aug 03, 2002
Posts: 7729
Thanks for the prompt reply, "Trunklid". Have you tried "L J Wilson", "LJ Wilson"? Those are valid "displayed names". I'm sure we can work something out
-Barry
[ July 28, 2003: Message edited by: Barry Gaunt ]
Lloyd Wilson
Greenhorn

Joined: Jul 15, 2003
Posts: 10
Test. Just seeing if my name changed
Barry Gaunt
Ranch Hand

Joined: Aug 03, 2002
Posts: 7729
Thanks Lloyd!
Lloyd Wilson
Greenhorn

Joined: Jul 15, 2003
Posts: 10
Originally posted by Steve Wysocki:
Yeah we just love doing homework for people...oops thats me too. My bad

Not all of us were born with i;t some of us have to learn somehow. So were should I go to learn this stuff?
 
jQuery in Action, 2nd edition
 
subject: Mathematics in Java language
 
Similar Threads
Project Suggestion
stock control
Question on query - select one row with max value in one field
Adding Live share market data in my website dynamically
Sun Microsystems