The following psuedocode according to my teacher has an error within. I looked at it couple times and cannot seem to determinr the errors., the errors need to coverted to python as well the whole thng. I need help finding the error, and making a new peudocode from the new list.
// This program displays the highest value in the array.
Declare Integer SIZE = 3
Declare Integer values[SIZE] = 1, 3, 4
Declare Integer index
Declare Integer highest
For index = 0 To SIZE − 1
If values[index] > highest Then
Set highest = values[index]
End If
End For
Display "The highest number is ", highest
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here