C#: Check whether a given array of integers contains a 3 or a 5
Check If Array Contains 3 or 5
Write a C# Sharp program to check whether a given array of integers contains a 3 or a 5.
Visual Presentation:

Sample Solution:
C# Sharp Code:
Sample Output:
True True True False
Flowchart:

C# Sharp Code Editor:
Improve this sample solution and post your code through Disqus
Previous: Write a C# Sharp program to check whether the number of 3's is greater than the number of 5's.
Next: Write a C# Sharp program to check whether a given array of integers contains no 3 or a 5.
What is the difficulty level of this exercise?
Test your Programming skills with w3resource's quiz.