State the output from the program in Figure 1 when the user enters the number 8.
Figure 1
1 num = int(input())
2 sum_divisors = 0
3 count = 1
4 while count < num:
5 if num % count == 0:
6 sum_divisors = sum_divisors + count
7 count = count + 1
8 print(sum_divisors)
298 exam-style questions on AQA GCSE Computer Science Programming concepts. Each one has a worked solution and a mark scheme showing where the marks go.