← All problemsSign in

Find 5

Create a function that takes an array of numbers and returns "Hello World!" if the digit 5 appears in the array. Otherwise, return "there is no 5 in the array". Array of numbers is 12 65 4 67 0987 234 87 89 6745 567 987 476 708 36 5587 798 884 671 7889

HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17

CodeSearch Tutor

Hints, not spoilers — it won’t hand over the full solution unless you insist.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start