Dynamic variables within shell script

Hi Gurus,
I have a requirement of writting the shell script where it should ask me two values

FND_TOP=/d02/app/oracle/xxx/fnd/11.5.0
CDCRM_TOP=/d02/app/oracle/xxx/cdcrm/11.5.0

and then keep these values stored as variables for the execution of rest of the script.

Because, I have to create the soft links from the values derived above.

ln -s VALUE_OF FND_TOP/fnd1 VALUE_OF_CDCRM_TOP/app_link1
ln -s VALUE_OF FND_TOP/fnd2 VALUE_OF_CDCRM_TOP/app_link2

I can't hard code the values of FND_TOP and CDCRM_top in the script, because they will change with every run.

Please help me...

TIA,

echo -e "Enter the FND_TOP value : \c"
read FND
echo -e "Enter the CDCRM_TOP value : \c"
read CDCRM

now FND and CDCRM is your two variables.

you can see whether your input value is stored there by just echoing them

echo $FND
echo $CDCRM

It worked !!!