Bonjour
CodeChefOpen on judge ↗
You're amidst French revolution era and the monarch wants to meet you. Upon entering to his courtyard ,the king orders you to greet every single person present in his courtyard with "Bonjour [name]", else you'll be beheaded. All guests have name only one character long. So, to save your life, you're supposed to make a device which scans an input character S and displays "Bonjour S" . Note that the
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.
Sign in to chat with the tutor and save your progress.
Sign in to start