CJCoding With Joseph
15per day

Does the Array Contain a Value

An int array is given. Print 'Found' if the value 7 appears anywhere, otherwise 'Not found'.

For { 3, 7, 1, 9 } the program prints 'Found'.

Expected Output:

Found
Topics:
Arrays
Code Editor
1
Tab to indent ยท Ctrl+Enter to run ยท Ctrl+Space to expand shortcuts (cw, cr, fori)

Your Output

Run your code to see the output here...

Test Cases

Run your code to see test case results.