WEBVTT 00:00.390 --> 00:07.090 Not what we do is we will create zero clear goals and division them. 00:07.260 --> 00:10.640 Let's do the Accord for Doc. 00:10.720 --> 00:20.600 We will create four more buttons like we will create is where we create code for less zero we do code 00:20.600 --> 00:37.250 for Miton clear way to court for my dumb equals and we will do corbel division. 00:37.420 --> 00:42.990 So four more buttons we will create for in the region. 00:43.180 --> 00:45.040 Let's pause here. 00:45.060 --> 00:46.570 Our division sign. 00:46.570 --> 00:56.580 Similarly here we will also pass the region symbol we will pause here the equals symbol for here we 00:56.580 --> 00:58.310 will pause they Quelch. 00:58.420 --> 01:06.690 For here we will pass C for this and we been pass here the C. 01:06.810 --> 01:12.670 Now what we will do is the pingers dart. 01:12.840 --> 01:15.420 We need to change the positions as well. 01:15.510 --> 01:22.000 We want to display these in 44 where we want to display them. 01:22.360 --> 01:23.490 Fourth row. 01:26.900 --> 01:33.990 Now the qualities I want are displayed in zero column cross column 01:38.520 --> 01:51.990 second column and the toward column now save the changes and read on the application not the CS We have 01:51.990 --> 01:58.310 created zero cancel the equals two and divisions. 01:58.320 --> 02:06.530 But now after this march the way we do is now the coding is complete for all the buttons. 02:06.780 --> 02:12.780 Now what we do is we will add the functionality to these buttons. 02:12.780 --> 02:22.320 We will create function for option and we will create function pedofile which we will calculate the 02:22.380 --> 02:26.210 addition subtraction multiplication and division options. 02:26.220 --> 02:36.900 Now what we will do is we will create a function for Button clear button option we really use and this 02:36.900 --> 02:42.400 button or option we will use here the global operator. 02:43.050 --> 02:47.840 And in this global operator I will use operator is equal to. 02:48.000 --> 02:52.950 I am setting this operator to null and the text input. 02:53.010 --> 02:59.540 I want to use is darte second option and here I am setting the null values. 02:59.610 --> 03:07.980 Now what I do is I really just copy this button to your function and I will pause this button here function 03:08.550 --> 03:13.690 here combined is equal to but until now. 03:13.890 --> 03:18.110 Let's run this example turning this example. 03:18.450 --> 03:24.210 See I'm pressing the buttons on clicking on that option. 03:24.210 --> 03:27.260 My values should be clear. 03:27.730 --> 03:29.690 Now are you able to see. 03:30.240 --> 03:31.970 After pressing the buttons. 03:32.070 --> 03:35.300 Now the thing is there on pressing the C option. 03:35.460 --> 03:41.950 When I'm going to pick this clear button the values are playing from your deck position. 03:42.180 --> 03:45.900 So we have done the code for the player option. 03:45.910 --> 03:53.230 Similarly we do the code for it quotes what it calls button will do. 03:53.260 --> 03:56.800 Now let's define a function for equal button. 03:57.150 --> 04:01.280 But then he calls input. 04:01.920 --> 04:09.510 Now what this function may do this function we evaluate the expression we will use the global option 04:10.050 --> 04:11.600 inside the global option. 04:11.610 --> 04:14.040 I want to use the operator. 04:14.670 --> 04:23.800 I want to use some up and here that sum up I want to use a string. 04:23.940 --> 04:26.140 I want to use the invert function. 04:26.190 --> 04:28.540 Evil evil. 04:28.830 --> 04:34.480 And here I want to force the operator option. 04:34.830 --> 04:37.520 Now I really use the text in board. 04:37.740 --> 04:41.000 And our second option inside this second option. 04:41.090 --> 04:50.110 Ival pause to sum up and I've seen it done the operator haziq calls to null again. 04:50.160 --> 05:01.260 Now what we do is I will just copy this function button it equals input and I will gone the equals option. 05:01.260 --> 05:04.870 And here I will pause this function. 05:05.160 --> 05:08.760 I really just write this function here. 05:08.920 --> 05:11.030 Now what I really do is. 05:11.430 --> 05:14.990 So I have created the function with the functionality. 05:15.290 --> 05:23.230 So now what we do is we really just put on this application by running this application. 05:23.310 --> 05:34.450 I will say that I warn three plus four and do five is equal to 23. 05:34.840 --> 05:41.690 But I have done is I have done three plus four Let's clear this. 05:41.850 --> 05:48.230 We've been evaluate an expression five and do five equals. 05:48.270 --> 05:51.660 It is giving me 5 to play by five twenty five. 05:51.950 --> 05:53.970 No but I've warmed for the wiz. 05:54.540 --> 05:56.960 I want party. 05:57.120 --> 06:00.680 They get by three is equal to. 06:00.690 --> 06:03.480 This is giving me 10 dark zero. 06:03.960 --> 06:10.340 So the thing is that we have created an calculator application inside this calculator application. 06:10.350 --> 06:12.860 We have created buttons. 06:13.020 --> 06:19.380 We have applied the addition multiplication subtraction and division functionality with the help of 06:19.400 --> 06:21.990 debt we have created at least function. 06:21.990 --> 06:27.240 We have assigned the values to the quells function by placing the button. 06:27.340 --> 06:29.930 We're evaluating the expression. 06:30.060 --> 06:36.930 And after that we are getting that Izzard's has ideation subtraction multiplication and division that 06:36.930 --> 06:40.960 is certain will be displayed on this particular text box. 06:41.070 --> 06:43.450 So we have done the ording for Doc.