October 2021
Intermediate to advanced
500 pages
16h 23m
English
First impressions go a long way, and one of the first things a patron will see is the tavern menu. For this challenge, generate a more elegant version of the menu to kick it up a notch. Show the menu as a uniformly aligned list of items and prices. The prices should be aligned by their decimal points. The whole menu should be presented in a pleasing block.
Your output should resemble this example:
*** Welcome to Taernyl's Folly ***
Dragon's Breath...............5.91
Shirley's Temple..............4.12
Goblet of LaCroix.............1.22
Pickled Camel Hump............7.33
Iced Boilermaker.............11.22
Hard Day's Work Ice Cream.....3.21
Bite of Lembas Bread..........0.59
Hint: You will need to ...
Read now
Unlock full access