Compile the program by using gradle. Run the program and following the instruction. For example:
Available stocks: TEA POP ALE GIN JOE
Stock Symbol. Enter "q" to exist: pop
Price: 200
Quantity: 1000
Dividend Yield: 0.04
P/E Ratio: 5000.00
Volume Weighted Stock Price: 200.00
Geometric Mean: 200.0
Stock Symbol. Enter "q" to exist: tea
Price: 100
Quantity: 3000
Dividend Yield: 0.00
P/E Ratio: 0
Volume Weighted Stock Price: 100.00
Geometric Mean: 141.4213562373095
Stock Symbol. Enter "q" to exist: