Rewrite the pseudo code of Self Check Question 5.16 using a post-test loop instead of a pre-test loop.
Find and explain the error(s) in the following pseudo code and then fix the pseudo code to produce an output of four "bean’s if it were run.
Declare Beans As Integer
Declare Count As Integer
Set Beans = 4
Set Count = Beans
While Count >= 0
Write "bean"
Set Count = Count + 1
End While
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here