Skip to content
Debug 7.1. Bracket Bamboozle
  • Pages
    • icon picker
      The Task
    • Code Clips

The Task

Activity: Debug 7.1 Bamboozling brackets 🐞

Start Here

A bug report has been has been submitted on this program.
This program should display the lottery numbers in the array.
It looks like, the wrong brackets have been used in some places and so the interpreter is throwing up lots of syntax errors. There may be other bugs to hunt down too.
Can you help fix it?
Run and explore the program to identify errors.
Refer to the code clips below to help you fix the syntax errors.
Right click on your code and add a comment explaining what was wrong and how you fixed it.
Good luck! 🍀

Sample Output

Ancient Roman Lottery

III
IV
XIV
XXII
XXX
XLIV
 
Want to print your doc?
This is not the way.
Try clicking the ··· in the right corner or using a keyboard shortcut (
CtrlP
) instead.