Results 1 to 5 of 5
  1. #1
    ibda-soft is offline Member
    Join Date
    Oct 2008
    Posts
    2
    Rep Power
    0

    Default Help..how I can do that??

    /*
    * Write a program that calculates monetary units in Omani Rials
    * given a number representing an amount of money in Omani Rials.
    * The monetary units are as follows starting from bigger notes:
    *
    * 50 Rial note.
    * 20 Rial note.
    * 10 Rial note.
    * 5 Rial note.
    * 1 Rial note.
    *
    *------------------------------Sample Run------------------------------
    * Enter amount of money: 256
    * Your amount of 256 Omani Rials consists of
    * 5 (50 Rial notes)
    * 0 (20 Rial notes)
    * 0 (10 Rial notes)
    * 1 (5 Rial notes)
    * 1 (1 Rial notes)
    */
    import java.util.Scanner;
    public class MonetaryUnits {
    public static void main (String [] args ) {

    // Data
    int rials
    int


    ..................................

    how I can make like this requirement by java programme,,,

    I want the compleatly code...


    regars,,,

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,457
    Rep Power
    20

    Default

    Err, this is a forum, not a code factory.
    [How to ask questions the smart way|http://catb.org/~esr/faqs/smart-questions.html]

    db

  3. #3
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,457
    Rep Power
    20

  4. #4
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,315
    Blog Entries
    1
    Rep Power
    26

    Default

    My favorite line is this one:
    I want the compleatly code...
    Jeeze, what an ......!

  5. #5
    CJSLMAN's Avatar
    CJSLMAN is offline Moderator
    Join Date
    Oct 2008
    Location
    Mexico
    Posts
    1,159
    Rep Power
    8

    Default Put some effort into it...

    The forum doesn't do homework. The forum will help you if you show some effort in producing some code. If you get struck or have a problem, you can ask the forum to help you.
    Also, cross posting over various forums is considered bad taste and angers the members of the forum. So don't cross post.
    CJSL
    Chris S.
    Difficult? This is Mission Impossible, not Mission Difficult. Difficult should be easy.

Posting Permissions

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