Section 3.1 # 6
Describe an algorithm that takes as input a list of n integers and finds the number of negative integers in the list
list Number Of Negative (a1, a2,…an)
i = 1 to n
N = number of negative numbers = 0
if ai < 0
N = N + 1
Return N
Looks pretty good Francisco. To be super clear, be sure to use “:=” for assignments so that you can save “=” for equality. Also, don’t forget the word “for” in your “for i :=1 to n.”