• Lucid Dreaming - Dream Views




    Results 1 to 9 of 9

    Threaded View

    1. #1
      Member Achievements:
      Created Dream Journal Tagger First Class Made lots of Friends on DV Referrer Bronze 5000 Hall Points Veteran Second Class
      Daredevilpwn's Avatar
      Join Date
      Oct 2011
      LD Count
      15
      Gender
      Location
      MD
      Posts
      493
      Likes
      378
      DJ Entries
      63

      Help with this java program

      Hello guys. In my computer programming class I need to make a program that can compute the pocket change of any number specified by the user. So for example if I were to input 1.30 in the program it should output something like
      "You have 5 quarters"
      "You have one nickels"
      "You have 0 dimes"
      "You have 0 pennies"

      I understand this is most likely the most simplest question but I am stumped right now.
      What would be an appropriate algorithm for this task?
      Last edited by Daredevilpwn; 09-27-2012 at 03:39 AM.

    Similar Threads

    1. Stubborn about java
      By Daredevilpwn in forum Tech Talk
      Replies: 7
      Last Post: 09-22-2012, 04:43 AM
    2. My brainfuck (Java)
      By Sornaensis in forum Tech Talk
      Replies: 2
      Last Post: 02-04-2012, 09:00 PM
    3. PHP / Java scripting help.
      By Adam in forum Tech Talk
      Replies: 11
      Last Post: 05-16-2008, 08:42 AM
    4. Hmm, anyone know why Java never loads?
      By Jdeadevil in forum Tech Talk
      Replies: 7
      Last Post: 07-29-2007, 03:16 PM
    5. Starting On Java
      By Lonestar in forum Tech Talk
      Replies: 6
      Last Post: 01-02-2007, 02:18 PM

    Bookmarks

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •