So, Long rather than Integer? Should I always use Long when it comes to user inputs, then (eg for the bonus code)?
And do you mean I should replace the Do While by For i to n like that:
For i = 1 To n ans = ans + i i = i + 1 Next i
So, Long rather than Integer? Should I always use Long when it comes to user inputs, then (eg for the bonus code)?
And do you mean I should replace the Do While by For i to n like that:
For i = 1 To n ans = ans + i i = i + 1 Next i
Last edited by Kakzie; 12-04-2015 at 06:16 AM.