Question:Write a algorithm for counting positive, negative and zero number.
Answer 1. Set positive,negative, and zero counters to 0 2. Read a card; if there are no more numbers, go to step 6. 3. If the number is positive, add one to the positive counter and go to step 2. 4. If the number is negative, add one to the negative counter and go to step 2. 5. Add one to the zero counter and go to step 2. 6. Print counters. 7. Stop.
+ Report
Write a algorithm for counting positive, negative and zero number.