Page 1 of 1

Write a function in C that reads in an array of 100 integers. Your function should count the number of integers in the a

Posted: Wed Apr 27, 2022 3:39 pm
by answerhappygod
Write A Function In C That Reads In An Array Of 100 Integers Your Function Should Count The Number Of Integers In The A 1
Write A Function In C That Reads In An Array Of 100 Integers Your Function Should Count The Number Of Integers In The A 1 (49.22 KiB) Viewed 34 times
Write a function in C that reads in an array of 100 integers. Your function should count the number of integers in the array that are divisible by one of 2,3 or 5, but not by 7. Your function should then return this total value. Note: if a number is divisible by more than one of 2,3 or 5 it should only count it once.