Sorry for the late reply, I've been doing other programs as well.
Thanks for pointing out the mistake man, i'll study the code more. It seems the variables i and j confuse me most of the times, have to work on that.
And thanks for helping
Sorry for the late reply, I've been doing other programs as well.
Thanks for pointing out the mistake man, i'll study the code more. It seems the variables i and j confuse me most of the times, have to work on that.
And thanks for helping
Then don't use i and j ... use more meaningful names... OLoop and ILoop, SalesTax etc. Not only does is minimize the confusion, it will help you remember what you've done when you have to revisit the code in 5 years... Meaningful variable names, comments for non-obvious stuff, function desciptions etc are all more work now but extremely helpful later.