Rewrite the pseudo code to load the array, Rain, with 12 rainfall amounts using K = 1 as the initial value of K. Rewrite the pseudo code of Example 7.2 using While loops instead of For loops.
Declare A[12] As Integer
Declare K As Integer
Set A[2] = 10
Set K = 1
While K
Set A[2 * K + 2] = K
Write A[2 * K]
Set K = K + 1
End While
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here