A few days ago
Anonymous

I need help on how to do a Java application?

Write an application tat prompts for and reds a double value representing a monetary amount. Then Determine the fewest number of each bill and coin needed to represent that amount, starting with the highest (assume 10 is the max needed).

Top 1 Answers
A few days ago
JohnC

Favorite Answer

import java.lang.*;

import java.util.*;

class ChangeBills

{

public static void main(String[] args)

{

bills = Double.valueOf(args[0]).doubleValue();

System.out.println(“Changing ” + bills + ” into small change”);

for (int i=0; i

0