### Source code for GreaterThanPriceExample.java:

>     public class GreaterThanPriceExample
>     {
>     	public static void main(String args[])
>     	{
>     		// GreaterThanPriceExample
>     		double price = 10.0;	// Change as needed.
>     		if (price >= 10.0)
>     			System.out.println("The price is too high.");
>     		else
>     			System.out.println("The price is OK.");
>     	}
>     }

### Output from GreaterThanPriceExample.java:

    The price is too high.

--- Output Ends ---

#### NOTE:

You are reading previously generated output. You are not currently running the GreaterThanPriceExample application at the momement. You need to compile and run the source code first.

#### To run this program:

`
- javac GreaterThanPriceExample.java
- java GreaterThanPriceExample
`

Authors: Kevin Chu and Eric Brower
Copyright 2000 Prentice Hall PTR