Test #1 Review

3.3 #3020160306_231639

This entry was posted in Test #1 Review. Bookmark the permalink.

1 Response to Test #1 Review

  1. Kate Poirier says:

    Nice procedure name, Mohamed. Please use the character “:=” in your pseudocode so that you can reserve “=” for equality. Also, I have a question about one line in your pseudocode:

    i := i+L

    Are you taking the sum of an integer and a list? I suspect what you mean instead is:

    i:= i+1

    This allows you to search the elements of the list one-by-one to check whether they satisfy the inequality.

Leave a Reply

Your email address will not be published. Required fields are marked *