Quote:
Originally Posted by baghera
And I also tried to run ahmedwaseem2000's program but I didn't get that to work either. I really sorry but I'm a real "noob" at this. But the help you are giving me are invaluable.
|
what is the error you are getting? its working perfectly fine for me. see below
3 is the (1 + 5 )/2=3
YOU NEED TO ASSIGN VALUE OF "INPUT" VARIABLE before running the code else it will give you the "division by zero in modulus" like run INPUT=4 before running the code.