Ask your AI Ask your AI to turn this code into a guided bug-finding exercise.
Claude ChatGPT I am reading "Which inputs correctly describe formatting an order total?" on CodeWiki (https://codewiki.com/practice/mcq/foundations/i18n/separate-locale-and-currency/).
Context (verbatim from the page):
"""
Which inputs correctly describe formatting an order total?
A numeric amount, its currency code, and the display locale.
Only the display locale, because it uniquely determines the currency.
Only a preformatted string such as $1,234.50.
An IP-derived country and the browser language.
"""
Introduce three subtle bugs into the example above and let me find them. Reveal each answer only after I have guessed.
Answer in English. Keep code examples in CS foundations. Where you are unsure, say so.