Divisible by 3 and 7 program in C