1 00:00:01,590 --> 00:00:09,200 This is a very simple switch case and you may also usefully use it when you are using we add wheelchairs 2 00:00:09,300 --> 00:00:17,460 or angular and you can see this which he says is that when you pay say Apple here it will turn out a 3 00:00:17,460 --> 00:00:26,100 red color and if you input a banana it will turn out a yellow and if you input something else it will 4 00:00:27,060 --> 00:00:28,800 print out the other colors. 5 00:00:28,800 --> 00:00:29,820 It works fine. 6 00:00:30,510 --> 00:00:37,110 And the problem is that when you are using LEDs instead of what you may encounter this problem. 7 00:00:47,830 --> 00:00:57,200 Said to identify your car has already been declared but what can you do. 8 00:00:57,210 --> 00:01:04,740 The problem is because that is skipping in order to deal with this problem we have to add a bracket 9 00:01:04,860 --> 00:01:05,210 here 10 00:01:34,110 --> 00:01:36,940 now as you can see the program is working fine. 11 00:01:36,940 --> 00:01:41,430 Again by adding the bracket at these two cases.