• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

switching values

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 884
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
 
Bartender
Posts: 1844
Eclipse IDE Ruby Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
reply
    Bookmark Topic Watch Topic
  • New Topic