Well like the post above, telling us what errors you get would be better than us guessing.
I also found it difficult to understand exactly what it is you are trying to do?
You mention about the user entering numbers in the range 0 - 100 in the script but then have used the number 327??? I am not sure I see the point here?
Some of the things I noticed:
1. Use `` or $() but not both, especially in the same point of execution ... I can say that $() is recommended for a bash script.
2. You use -lt and -gt in some tests but then use '=' when checking equality, however this is a string test and not a numerical one, you should in fact use -eq
3. Further to point 2 above, instead of using [] for numerical tests, I would suggest using (()) which are designed for this and then you can also use the standard mathematical symbols like <, >, etc
4. If you have more than 2 tests to check against, I would also suggest looking into the case statement
Hope some of that helps. If you could maybe explain a little further your aim, we may have other suggestions too