Solution Task 7, Sheet 5

Hello,

I think the following solution should be == and not !=,
because the task states “check IF a positive integer has digit sum 7”. Since b holds the digit sum result of quer, the boolean comparison should yield true in case b == 7 and false if not.

Currently, with that solution, it would yield false for b=7.

image

Thanks in advance,
David