Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Mathematics in Java language

 
Lloyd Wilson
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 9065
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Gabriel White
Ranch Hand
Posts: 233
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yeah we just love doing homework for people...oops thats me too. My bad
 
Stan James
(instanceof Sidekick)
Ranch Hand
Posts: 8791
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Waddya think ... is Trunklid going to fly with the name police?
 
Barry Gaunt
Ranch Hand
Posts: 7729
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...
 
Gabriel White
Ranch Hand
Posts: 233
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 7729
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 18671
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...
 
Michael Morris
Ranch Hand
Posts: 3451
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Marilyn de Queiroz
Sheriff
Posts: 9065
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 233
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 233
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 7729
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Test. Just seeing if my name changed
 
Barry Gaunt
Ranch Hand
Posts: 7729
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Lloyd!
 
Lloyd Wilson
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic