C Program To Count Positive, Negative, Even And Odd Numbers In An Array
Satish B
https://technotip.com/9161/c-program-to-count-positive-negative-even-and-odd-numbers-in-an-array/
Twenty-five numbers are entered from the keyboard into an array. Write a program to find out how many of them are positive, how many are negative, how many are even and how many odd.
Important Note Most of the time 0 is considered as even number, as it has odd numbers on either side of it i.e., 1 and -1. And 0 is perfectly divisible by 2.
Also note that 0 is neither positive and nor negative.
C Programming Interview / Viva Q&A List https://technotip.com/6378/c-programming-interview-viva-qa-list/
C Programming: Beginner To Advance To Expert https://technotip.com/6086/c-programming-beginner-to-advance-to-expert/
Join this channel to get access to perks: https://www.youtube.com/channel/UCFUKESqogHax2af9lmhICZQ/join ... https://www.youtube.com/watch?v=DwBgTJDWTE4
18696823 Bytes