calculate and print the sum of all numbers from 6 to 8

1 answer

The sum of all numbers from 6 to 8 can be calculated as follows:

6 + 7 + 8 = 21

Therefore, the sum is 21.