Fix the Syntax
JavaScript
20 pts
Fix the Syntax
Merhawi wrote a menu for his café, but every line has a syntax mistake. Fix the code (do not delete lines) so it prints exactly:
Merhawi's café Tea: 15 Nakfa Coffee: 20 Two teas: 30
Keep the calculation 2 * 15 — do not type 30.
Checklist
- Fix all four lines so the menu prints exactly.
- Keep the calculation for the two teas.
- Keep all four statements.
🔑 Solution
If you view the solution before passing, you earn half points for this exercise. You still need to type it and press Check to finish.
How it works, step by step
Point at a step to highlight its lines. Type the solution yourself and press Check answer to finish.
