Question: C language only 3. Write a C program to check if an input integer is a multiple of either 2 or 5 but not a
C language only
3. Write a C program to check if an input integer is a multiple of either 2 or 5 but not a multiple of both. E.g. of valid numbers are 4, 6, 8, 12, 14, 15, 16, 25, etc. E.g. of invalid numbers are 1, 3, 7, 9, 10, 20, etc. 4. Write a C program to check whether an input number is a multiple of only 5( e.g. 5,10,15,), only 11 (e.g. 11,22,33, ), both 5 and 11 (e.g. 55,110, ), or neither of them (e.g. 2,3,4,6,7,8,9,12, )
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
