← All problemsSign in

Basic BUZZ Factorial Mess

Identify the logic hidden in the below provided inputs and outputs and write the code accordingly Note: your code should take one integer as input and provide a unique integer EXPLANATION: 1.if input is 4 output is equal to 48 2.if input is 2 output is equal to 4 3.if input is 3 output is equal to 12 4.if input is 1 output is equal to 2 5.if input is 5 output is equal to 240 and so o

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