Ad
  • Custom User Avatar

    I thought about initializing both ints concurrently, but I think it's probably more proper, semantically, to keep the index scoped to the loop. Your count and loop index can both be initialized to two, since all integers have at least two divisors, but just minor nitpicking!