+0  
 
0
188
1
avatar+275 

Suppose that a and b are integers with a < b  How many numbers are in the list a, a+1, a+2.... b?

So I thought about doing a-(a-1) to get the first number to one so the list becomes 1,2,3 but i soon realized that does not work

 Aug 2, 2022
 #1
avatar
0

The answer is b - a.

 Oct 7, 2022

4 Online Users

avatar
avatar
avatar
avatar