please check the code i am using this code for:
when user give 2 inputs for example user gave 1 and 3
this this should run the loop using userdefined function and add every value which comes between 1 and 3 and give result 6
but its giving garbage 1290.. please check and correct