meaning - "Add number between x … y"
I’m working on a problem for a programming class that states the following:
Write a for loop in the space below which will add the numbers between 1 and 20.
To me this means the question is looking for the total sum of all the individual numbers from 1 up to 20 (1 + 2 + 3 + 4 + 5 + … + 20).
Is my understanding correct?
Are there any other ways to word this?
Comments
Post a Comment