A new programmer, named Fred, wrote the following program.
$x := a; y := b;$
\textbf{while } $y > 0$
{$x := x + 1; y := y - 1$}
1. What does Fred intend the program to do?
2. If the program has a precondition, what is it?
3. What is the variant of the loop?
4. What is the invariant of the loop?
5. What is the postcondition of the loop?