ComputerForum.com ComputerForum.com  
TigerDirect
 
Go Back   Computer Forum > General Chat > Off Topic Chat

Reply
 
LinkBack Thread Tools Display Modes
Old 07-22-2008, 03:32 PM   #1 (permalink)
Silver Member
 
Join Date: Sep 2005
Age: 21
Posts: 114
Default Creating java program

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.
alyoob is offline   Reply With Quote


Old 07-22-2008, 09:42 PM   #2 (permalink)
Moderator
 
Cromewell's Avatar
 
Join Date: Dec 2004
Location: Canada
Age: 25
Posts: 10,206
Default

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
Cromewell is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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



All times are GMT +1. The time now is 07:41 AM.


Powered by: vBulletin Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc.
Copyright © 2002-2008 Computer Forum and Web Design Forum