Test tried it on a few quotes and I came back with the approx quote that had been sent to the client. This one is pretty much dead on. Though we did find one flaw. It calculates the number of pages in a book on wordcount, what happens when you are given the number of pages in the book. I am thinking I might have to include a variable to multiply the number of pages, or state the number of pages so it can calculate.
if $wordcount='' || $pages ='' then fail
if $wordcount =xx { }
else if $pages = xx { }
else exit();
No comments:
Post a Comment