Задача Задача №3604608
А
А
It looks like you’re using a decimal comma, so this is the range 3.1 to 4.8 with step 0.4 (i.e., 3.1-4.8:0.4).
Sequence:
- 3.1
- 3.5
- 3.9
- 4.3
- 4.7
Number of terms: 5
Notes:
- The end 4.8 isn’t reached exactly with step 0.4 from 3.1, so the last term is 4.7.
- If you want the end to be inclusive, you’d need a different step or a different ending value.
If you’d like, I can generate the terms for a different start, end, or step, or show the general method.