Look at the last digit of a payment card number. It isn't random. It's a check digit, worked out from all the digits before it, so that a mistyped number is caught before any money moves. Somewhere, a short loop takes the number apart one digit at a time and adds the pieces up. That loop is the first half of this lesson.
In the last lesson the numbers sat in a list and we moved them around. Here a single number is the whole list: 5172 is a 5, a 1, a 7 and a 2. But C has no word for "the last digit" or "the first digit". We have to ask for the digits ourselves, with two operators you already know, % and /. Programming papers love this, and the question is nearly always the same one in new clothes: "Input: 6789, output: 9876", "find the sum of the digits", "check whether a number is a palindrome".
The second half uses the same % for a different question: does d divide n exactly? Ask that for every d in a loop, and the loop hands you the factors of a number, its perfect-number test, its primes, and the HCF and LCM of two numbers. These are, between them, among the most repeated written programs in past papers.
By the end you'll be able to take any number apart digit by digit and use the digits: add them, count them, reverse them, test a palindrome, a digital root and an Armstrong number. You'll be able to run a divisor loop and make it fast by stopping at the square root. You'll write the prime test, list the primes up to N, and explain why a sieve beats testing each number. And you'll find the HCF and the LCM of two numbers in three different ways and say which is quickest. Every program here was compiled and run, and every output you see is the real one.