display the price details on console