Your attempt is a start.
Now you should make another effort to better detail what you code would do (i.e. open the file, then reading the prices in loop that ends upon receiving 'end of file', etc...)
e.g.
inputFile = open file "Stock.dat"
while is not end of file inputFile do
typeOfRose = read type of rose from inputFile
currentPrice = read current price from inputFile
...
...