Question
Read n numbers. Count the number of negative numbers, positive numbers and zeroes in the list.use arrays.
Answer :
Word Count : 76
_____ ________ ____ _________ ________ __________ _____.
______ _________ __________ ____ _____.
__________ _______ ___ ________ _______ ________ __________ ________ _______.
_______ ________ ______ ______ ___ __________ ______ __________.
_____ ________ ____ _______ __________.
_______ _____ _____ _______ _______ ______ _______ ____ __________ ______.
Skip in 10
```c #include int main() { int n, i; printf("Enter the number of elements: "); scanf("%d", &n); int numbers[n]; int positive = 0, negative = 0, zero
_____ _____ ________ ______ ____._____ ________ ____ _________ ________ __________ _____.
______ _________ __________ ____ _____.
__________ _______ ___ ________ _______ ________ __________ ________ _______.
_______ ________ ______ ______ ___ __________ ______ __________.
_____ ________ ____ _______ __________.
_______ _____ _____ _______ _______ ______ _______ ____ __________ ______.
IGNOU ACADEMY
Your IGNOU journey, made easier.
- Solved Assignments
- Study Notes
- Guess Papers
- Question Papers
Continue Reading — It's Free
Sign in with Google to unlock more of this answer.
✓ Free access
✓ Unlock up to 60% of the answer
✓ No payment required
✓ Unlock up to 60% of the answer
✓ No payment required
Quick Google sign-in. No separate registration form.