Results 1 to 5 of 5
Thread: Help..how I can do that??
- 10-20-2008, 09:49 AM #1
Member
- Join Date
- Oct 2008
- Posts
- 2
- Rep Power
- 0
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,,,
- 10-20-2008, 10:33 AM #2
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
- 10-20-2008, 10:37 AM #3
Cross posted in two other forums
http://www.java-forums.org/jobs-disc...-i-can-do.html
Help!!!MonetaryUnits.java
db
-
My favorite line is this one:
Jeeze, what an ......!I want the compleatly code...
- 10-21-2008, 02:02 AM #5
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.
CJSLChris S.
Difficult? This is Mission Impossible, not Mission Difficult. Difficult should be easy.


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks