|
|
#1 (permalink) |
|
Silver Member
![]() Join Date: Sep 2005
Age: 21
Posts: 114
|
I need help creating a java program that inputs an amount of cents, converts the input amount to dollars, quarters, dimes, nickels and pennies.
Input the cents dollars = cents/100 centsLeft = cents%100; quarters = centsLeft/25 centsLeft = centsLeft%25 dimes = ..... Test your program with different inputs. Last edited by alyoob; 07-22-2008 at 04:06 PM. |
|
|
|
|
|
#2 (permalink) |
|
Moderator
![]() Join Date: Dec 2004
Location: Canada
Age: 25
Posts: 10,206
|
Sounds like homework to me. If you have questions how to do a specific thing because you are having trouble I'll help you out. But I wont if you are just asking how to do the whole thing.
__________________
You know what the chain of command is? It's the chain I go get and beat you with 'til ya understand who's in ruttin' command here. I must plug a couple comics because they are good :D: www.ctrlaltdel-online.com www.userfriendly.org |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Java Programming - CITY JUMPER | shariq | General Software | 1 | 01-19-2007 07:34 AM |
| Java Programming - Need URGENT help with CITY JUMPER - Java Programming | shariq | Computer Games and Consoles | 0 | 01-19-2007 07:05 AM |
| System Alert!! Fake! Re: anti-vermins.com | J_D | Computer Security | 5 | 01-07-2007 12:36 PM |
| Java Problems | Hobo_man | Operating Systems | 1 | 03-03-2006 06:47 PM |
| Help, can't remove program or sys restore, causing problems | Nooyawkah | General Software | 1 | 11-06-2005 10:32 AM |