File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

switching values

 
Norman Neaderhiser
Greenhorn
Posts: 6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello guys,
I have a school project that instructs me to exchange the values of two test scores. If test one equals 95 and test two equals 84 and I am using the method public void swapTests() how do I acomplish this?
Thank you for your help, you guys are a valuable asset for greenhorn like myself.
NN
 
Chengwei Lee
Ranch Hand
Posts: 884
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
Joel McNary
Bartender
Posts: 1824
Eclipse IDE Java Ruby
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What have you tried? Can you post your code? Is your problem in performing the actual swapping, or something else, like parameter passing?
We do enjoy helping, but you of course realize the various issues involved in just giving you the answer.
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When you get this program working, just be sure to not be using it around my test scores. I like them very much as they are, thank you.
Now, to get some good help around here, as Joel suggested, we'll be needing some more effort and information on your part.
[ April 09, 2004: Message edited by: Dirk Schreckmann ]
 
Norman Neaderhiser
Greenhorn
Posts: 6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Guys,
With a little common sense I have figured out what I need to do.
I works like a charm. I just had to keep playing with it.
Thanks NN
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic