This project is very simple. Although Bart Simpson is going to explain you –if you want to watch again his instructions (to restart the project), simply click on "INSTRUCTIONS" button below– You can watch TV just like Homer! Just click the green button to start a random channel, and then you can change between channels either by clicking the numbers on your keyboard or on the remote control. If you wish to shut down the TV, just click on the red button.
When you turn the TV on, it starts a random channel between 2 (The itchy and scratchy show and a Troy McClure´s show). 50% each. I have made a variable called "n". I wasn´t necesary, but as this project is for CS50 Online course, they ask me for at least a variable, so I made it. But it´s not necesary at all. Images and Sounds in this project belong to their respective authors.