I know this is a little of the topic,
But could Ne one help me with this,
I have just started college, and the teachers told us
F-all on how to write a Java program,
as far as I know,
is out to writeln and readln,
A Console Application.

The Problem.
IE.
I need to make an out put look like this:
_________________________________________

Purchase Price: $ 34.50
Amount Tendered: $ 40.00

Your Change is: $ 5.50

5 one-dollar Bill(s)
2 quatre(s)

Thank you for your business.

__________________________________________

So far I can work out the sums, but i only get to 1 decimal place, and the next is how do i get the worded example?

My source code so far:
___________________________________________

import ccj.*;

public class Class1
{
public static void main (String[] args)

{
float Purchase;
float Tender;
float Change;
float Amount;

//Linebreak

System.out.println ("");

//Purchase Price

System.out.println ("Purchase Price? ");
Purchase = Console.in.readInt();
System.out.print ("Purchase Price: " + '$');
System.out.println (Purchase);

//Linebreak

System.out.println ("");

//Amount Tendered

System.out.println ("Tender? ");
Tender = Console.in.readInt();
System.out.print ("Amount Tendered: " + '$');
System.out.println (Tender);

//Linebreak

System.out.println ("");

System.out.println ("Change");

//Linebreak

System.out.println ("");



System.out.println ("_____________");

//Linebreak

System.out.println ("");

//Check Sum

System.out.println (Tender-Purchase);

//Linebreak

System.out.println ("");

//Check Sum

System.out.println ("Thank You For our Business. Come Back Soon.");

float x ;
x = Console.in.readInt();
}
}
_________________________________________

Cheers,