Write a method that returns the SUM of all integers between the start integer and the end integer.

computer science

Description

Write a method that returns the SUM of all integers between the start integer and the end integer.
So sumAll(6, 8) would return 6+7+8 which is 21.  Remember that += allows you to add numbers to a 
   pre-existing variable you created!

Instruction Files

Related Questions in computer science category