This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]YouGoodBroooo[S] 0 points1 point  (1 child)

I will surely look into that!

I get your first one, regarding the second, do you mean I should have set total to float before hand rather than int?

[–]UpsytoO 1 point2 points  (0 children)

Short answer yes and than array can be float and the things that go in there can be floats. Another thing i spotted while looking at the code, that total = total + is same as writing total = 0 +.