Ok the logic is where I always have trouble in programming. This is a network engineering course not a programming course.
The teacher started to work through the solution in class today.
It went something like:
if weight is greater then 10 and less then 100 then process low weight
else process high weight if between 100 and 200
---------
That’s how the if statement started out
Basically say that the weight was 50 going to brisbane with Standard handling then the program would say it equals 10
He said it could also be done with the case statement but as to not confuse us he is only showing us the if/then way.
That’s as far as we got today and next Linux scripting class is not till next week unfortunately.
Thanks for the help so far