File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes still need help with creating class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "still need help with creating class" Watch "still need help with creating class" New topic
Author

still need help with creating class

Monic Sherm
Greenhorn

Joined: Sep 30, 2005
Posts: 13
I still need some help if possible. The program compiles and runs but will not output a total fee. Any advice would be appreciated.

Thanks in advance

[ October 01, 2005: Message edited by: Mark Spritzler ]
Mark Van Tuyl
Ranch Hand

Joined: Mar 22, 2002
Posts: 60
You need to pass the number of credit hours to the getTotClassFee method and use it in the calculation of the total fee.


<a href="http://www.catb.org/~esr/faqs/smart-questions.html" target="_blank" rel="nofollow">How To Ask Smart Questions</a>
Layne Lund
Ranch Hand

Joined: Dec 06, 2001
Posts: 3061
Please do not start a new thread when you have questions related to something you have already posted. It will help others be able to join in if you just reply to the old thread. It also helps maintain continuity for those of us that are trying to help you.

With that said, it will help a lot if you tell us what it DOES print out. You should also describe how this differs from what you expect. If you can provide this information, I will be glad to help you from there.

Layne


Java API Documentation
The Java Tutorial
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17250
    
    6

Hey Monic,

If you look below the Add Reply button there are other buttons that you can use. One is the CODE button which will create CODE tags that you should put your code withing so that it keeps its format/indentation, which makes it a little easier for us to read.

Thanks

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: still need help with creating class