Driver code
public static void Main ( String [ ] args ) { String [ ] item = { " toy " , " pen " , " notebook " , " pen " } ; int n = item . Length ; int [ ] price = { 2 , 1 , 3 , 2 } ; findPrices ( item , price , n ) ; } }