c program that processes the command-line arguments and figures out ref, the reference value of interest to us, and tol, the acceptable tolerance code example
Example: command line arguments in c
int main( int argc, char *argv[] )
./a.out kiran kumar gun
./a.out is arg[0]
kirna is arg[1]