Discuss the below:
Q: Six stock prices (buying price) are stored into a 2 x 6 two-dimensional array. The user inputs the current price of each stock. This program will compare the buying price and the current price of each stock. It will print a table like following:
Stock Buying Price Current Price Profit If Sold
1 12.25 15.00 2.75
After the table is displayed, print out the stock with the highest profit if sold and its position in the array[row][column].