Print all the items with their minimum , maximum and average prices
Console . WriteLine ( " Item ▁ Min ▁ Max ▁ Average " ) ; foreach ( KeyValuePair < String , Item > ob in map ) { String key = ob . Key ; Item currItem = ob . Value ; Console . WriteLine ( key + " ▁ " + currItem . min + " ▁ " + currItem . max + " ▁ " + ( ( float ) currItem . sum / ( float ) currItem . total ) ) ; } }