← All problemsSign in

A number is given as an input to the function and returns sum of multiple of multiples of 3 and 5. Input Only Positive numbers Output Print the sum of multiple of 3 and 5 in the given number. Example Sample input1 10 Sample output1 23 Sample input1 23 Sample output1 119

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