1 00:00:01,880 --> 00:00:04,710 Welcome to another awesome challenge. 2 00:00:04,730 --> 00:00:08,480 This challenge will be about ethics and what we have done so far. 3 00:00:08,690 --> 00:00:15,050 I'm so happy and I'm just going to tell you that I rerecorded this first lecture because I have a couple 4 00:00:15,050 --> 00:00:16,640 of mistakes in my writing. 5 00:00:16,910 --> 00:00:21,500 And that was like syntax mistakes, but yeah, simple mistakes. 6 00:00:21,500 --> 00:00:24,420 But I didn't want you to see them. 7 00:00:24,440 --> 00:00:29,410 So what I did, I just rerecord this one and I'm just going to explain what we need to do. 8 00:00:29,840 --> 00:00:33,500 Now, you do going to have this clinic parking challenge. 9 00:00:33,500 --> 00:00:36,500 You're going to download this folder inside. 10 00:00:36,500 --> 00:00:38,370 You have a final and you have a starter. 11 00:00:38,600 --> 00:00:38,950 Right. 12 00:00:39,710 --> 00:00:41,430 So we're going to start from the start. 13 00:00:41,510 --> 00:00:48,860 But if you don't want to do it that way, you can you can go and pick the final result and the final 14 00:00:48,860 --> 00:00:50,150 solution that will be mine. 15 00:00:50,150 --> 00:00:54,860 And I'm going to tell you, there is multiple ways, ways how to do this. 16 00:00:55,100 --> 00:00:55,510 Right. 17 00:00:55,730 --> 00:00:58,640 And I'm just going to say now, what is this challenge? 18 00:00:58,850 --> 00:01:04,690 So imagine if you are owner of multiple dental clinics in Melbourne and every week it cost you 50 dollars. 19 00:01:04,940 --> 00:01:08,610 There is a parking there for three dollars per hour and nine dollars per hour. 20 00:01:08,960 --> 00:01:16,550 Now, as the administrator, as an owner, you just want to have a daily report about dental clinics, 21 00:01:16,550 --> 00:01:19,130 appointment and parking fees, how much money you are making. 22 00:01:19,440 --> 00:01:24,020 OK, now, at the moment, you have a four clinics and four parking places. 23 00:01:24,380 --> 00:01:27,290 The clinic size can be small, normal and big. 24 00:01:27,530 --> 00:01:33,310 In all, the clinic workers have building the address in here when they were built. 25 00:01:33,740 --> 00:01:33,950 Why? 26 00:01:33,960 --> 00:01:37,040 I'm saying this because the parking EMV. 27 00:01:37,700 --> 00:01:40,090 So here in Australia, that is as common. 28 00:01:40,430 --> 00:01:47,600 So you have a shop somewhere in the city, but actually the parking for that is on the other side and 29 00:01:47,600 --> 00:01:49,210 that will be a different street. 30 00:01:49,220 --> 00:01:56,180 That's why you need to have clinics and the workings of the billing address and also when they were 31 00:01:56,180 --> 00:01:56,530 built. 32 00:01:56,540 --> 00:01:56,850 Right. 33 00:01:57,320 --> 00:02:04,400 OK, this is what you need to put it inside the clinic report and these everything you need to put it 34 00:02:04,400 --> 00:02:06,170 in a console lock like this. 35 00:02:06,440 --> 00:02:10,430 But I did have a couple of mistakes here, like with the numbers I did. 36 00:02:10,430 --> 00:02:11,900 That's why I rerecorded this one. 37 00:02:12,080 --> 00:02:16,280 And I want to look as professional as much as can, although it's very simple. 38 00:02:16,280 --> 00:02:17,780 Don't don't look at this area. 39 00:02:17,990 --> 00:02:19,130 You're not going to need that one. 40 00:02:19,340 --> 00:02:19,660 Right. 41 00:02:19,760 --> 00:02:21,680 So that's not going to be in your final report. 42 00:02:21,890 --> 00:02:28,310 OK, so the most important thing that you need to use is six classes, template, spring maps, a function, 43 00:02:28,310 --> 00:02:32,700 find connection between parents and parent and subclass right. 44 00:02:33,440 --> 00:02:36,560 For example, think with parking and clinics have in common. 45 00:02:36,560 --> 00:02:38,750 They're obvious things. 46 00:02:39,560 --> 00:02:46,450 OK, you know, your colleague report will have average number of patients, total number of patient 47 00:02:46,460 --> 00:02:47,510 income generated. 48 00:02:47,660 --> 00:02:50,900 So these I will change it a little bit and I will add a couple more things. 49 00:02:51,440 --> 00:02:55,400 Right, because in the first part I didn't want to. 50 00:02:55,400 --> 00:03:02,060 But in what I was doing the when I was recording, I was saying, OK, I need to tell the students this 51 00:03:02,060 --> 00:03:05,870 because a lot of you guys will not even try to do it on your own. 52 00:03:06,140 --> 00:03:10,250 Now, you can read all of this in about the Parkin report. 53 00:03:10,520 --> 00:03:11,900 You can read all of this. 54 00:03:12,440 --> 00:03:14,270 And this is how it should look. 55 00:03:14,630 --> 00:03:20,660 Also, the name of the street, you don't have to worry, but you can copy it from the final version. 56 00:03:20,870 --> 00:03:22,370 You have to code it with me. 57 00:03:22,460 --> 00:03:24,290 So I'm going to do a couple of times like that. 58 00:03:24,590 --> 00:03:26,360 No next lecture. 59 00:03:27,350 --> 00:03:27,960 I'm going to do it. 60 00:03:27,980 --> 00:03:31,550 Little bit of reverse engineering when I say this. 61 00:03:31,850 --> 00:03:36,200 I'm just going to have you I'm just going to give you the entire code. 62 00:03:36,500 --> 00:03:39,770 It's already been written and I'm going to tell you what it does. 63 00:03:40,520 --> 00:03:47,180 Now, if you don't want to hear this lecture, if you want to code, let me skip that zero lecture. 64 00:03:47,270 --> 00:03:47,600 Right. 65 00:03:47,720 --> 00:03:54,050 So I'm just going to call it zero lecture, reverse engineering. 66 00:03:54,050 --> 00:03:54,770 That's why we call. 67 00:03:54,860 --> 00:03:57,290 So you're going to have that and you're going to read it to me. 68 00:03:57,290 --> 00:03:59,300 It's not going to you're not going to do anything else. 69 00:03:59,300 --> 00:04:02,030 But I just want to call it reverse engineering. 70 00:04:02,030 --> 00:04:02,300 Right. 71 00:04:02,450 --> 00:04:03,260 So thank you very much. 72 00:04:03,260 --> 00:04:04,790 And I will see you in the next one.