AtomicKotlinExamples
AtomicKotlinExamples copied to clipboard
Examples/Summary1/Task5.kt
This task asks to display every fifth number in a given interval. The example interval is [11..30]. For me, the first fifth member is 11+5=16, and not 15 as the example returns.
An other example: 3 4 5 6 7 8 9 10 11 12 13 14 * * 7 and 12 are returned. 7-3=4, 12-7=5.