Try to learn automated shell script

Hi,

i am new to shell script,i have a algorithm but i am not able to write script for this!
we have to run one menu script for 100 times,in the first time we have to give options and after that execute.
1.enter option for write,in that we give address and data
2.enter the option for read,we get the written data

thanks,
kanth

Welcome on board,

Is this homework? If so we have a special forum for that:

And it has its special rules you have to comply with.

If you have an algorithm to start with what is it you cannot transcribe?
From what I read, I see a request for what the program should do, but no algorithm...