Print all the items with their minimum , maximum and average prices
System . out . println ( " Item ▁ Min ▁ Max ▁ Average " ) ; for ( Map . Entry < String , Item > ob : map . entrySet ( ) ) { String key = ob . getKey ( ) ; Item currItem = ob . getValue ( ) ; System . out . println ( key + " ▁ " + currItem . min + " ▁ " + currItem . max + " ▁ " + ( ( float ) currItem . sum / ( float ) currItem . total ) ) ; } }