← All problemsSign in

Compiler Designing

Tom started his coding in python and he never used C language for coding. Today he started to learn C language but unlike python C language contains semicolon in the end of the statement.Tom is a beginner in C language so he doesn't know more keywords in c language.Tom uses only few keywords in his C code.Because of using Python Tom strictly follow indentation in his code. Now Tom wants to count n

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