please help quickly..

I want to pass arguments to a sh program and I want to use these arguments in the program as variables?

Will I use argc and argv in a main function can anyone around me write the full code please

for example when I write in th command

sh myprogram.sh argument1 argument2
I want to use these arguments

please help me

if you're asking what i THINK you're asking...

argument1 will be represented as variable $1 and argument2 will be represented as variable $2 inside the script.