Discrete Comp Help

No.13316982 ViewReplyOriginalReport
Would any anon be able to help with this real quick? I know how to write pseudocode but I do not know how to solve this particular one with negative number count

Describe an algorithm using pseudocode as discussed in class that takes a list of n integers a1, a2, ..., an, and returns a count of the number of negative integers. Be sure to initialize the variables.