C Exercises: Check if a given array of integers contains no 3 or a 5
59. Array Contains No 3 or 5
Write a C program to check if a given array of integers contains no 3 or 5.
C Code:
Sample Output:
1 1 0 1
Pictorial Presentation:
Flowchart:

C Programming Code Editor:
Previous: Write a C program to check if a given array of integers contains a 3 or a 5.
Next: Write a C program to check if an array of integers contains a 3 next to a 3 or a 5 next to a 5 or both.
What is the difficulty level of this exercise?
Test your Programming skills with w3resource's quiz.
- Weekly Trends and Language Statistics
- Weekly Trends and Language Statistics