Opening the reading…
Opening the reading…
DSA FUNDAMENTALS › MATH BASICS
This is a scratch drill — your code runs, nothing is graded or recorded. No test cases, no expected output, no verdict.
TASK
Implement groupedRule so the program applies the same reusable divisibility rules to 27720. Print the divisors from 1 through 20 that divide it, confirming that 13, 16, 17, and 19 are omitted.
OUTPUT
SampleDivisors: 1 2 3 4 5 6 7 8 9 10 11 12 14 15 18 20 Omitted: 13 16 17 19
What a finished answer prints, from the lesson. Nothing has run yet — press Run and this is replaced by your program’s own output.