C Program To Count Positive, Negative, Even And Odd Numbers In An Array

Опубликовано: 01 Октябрь 2020
на канале: Technotip
14,976
164

https://technotip.com/9161/c-program-...

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-programm...

C Programming: Beginner To Advance To Expert
https://technotip.com/6086/c-programm...

Join this channel to get access to perks:
   / @technotipdotorg  


Смотрите видео C Program To Count Positive, Negative, Even And Odd Numbers In An Array онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Technotip 01 Октябрь 2020, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 14,976 раз и оно понравилось 164 людям.