Need help!! Am just starting to learn UNIX

Dear ALL!
i have just started learing UNIX.
Can anyone pls let me how to write a program using command line to give product of two numbers ?
The program should ask like enter first no and so on.

Also,i want to know a program which can display the digits entered in words.
Like if entered "1" it should give result "One".

Thank You

Homework?

What did you try so far?