How can I write (in pseudocode) a program that halts only if the Collatz Conjecture is false ? Here is pseudocode for the case that it is true: function collatz(n) while n > 1 show n ...
I have an exam on Programming Concepts this Saturday and I am struggling to find some information to understand some concepts better. What is the difference between loop invariant and assertion? To ...