Ascii Hourglass
CodeChefOpen on judge ↗
Emily is in love with ASCII art. She has become fascinated with creating pictures using nothing but the asterisk symbol (*). Her favorite picture to make is an hourglass, with the top part full and the bottom part empty. Surprise Emily with a program that will ask for how big an hourglass should be and will create an hourglass of that size using nothing but asterisks and dashes. Input The numb
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