error
avg = runs / ( innings - notout )
my mvs keeps complaining about dividing by zero.
but i entered
innings = 45;
notout = 43;
runs = 6;
|
Have you tried using the debugger to see what the values of the variables actually are at that point?
Topic archived. No new replies allowed.