On shell scripting

can somebody help me...

i wanted to change a certain OLD WORD with a NEW WORD in just a SPECIFIC LINE..

example..

Line No. Name Age ID Number
1 Joan 14 2008-1521
2 Mike 14 2008-1623
3 Kyle 16 2007-1562

how will i PROMPT the user for the LINE NUMBER 1 and CHANGE the AGE??

please help me,,,:confused::confused:

thank you very much

seems like homework for me..
i can give you an idea..
first ask user for line no store it in variable
then use sed or awk to get that line e.g sed -n '/$lineno/p'
then ask user the age change store it in a variable then use awk to replace it with old one

THANKS vidyadhar85 for your reply....

but im sad to say that im still confused..
i have only a single file in storing my datas( RecordBook.data)
now i wanted to change the Age of the Person listed in my RecordBook.data AS Record No. 2....
how am i to solve this one...

i hope u would still continue to help me... thank a lot my dear friend...