WEBVTT 00:00.960 --> 00:03.200 So we have really good portable. 00:03.200 --> 00:10.710 The total cost we have calculated all the total cost and we have link this particular function with 00:10.710 --> 00:17.480 the buttons named as we have to here the reset button to mind is the to reset. 00:17.700 --> 00:20.340 I think we have come Argles Paul str. item. 00:20.340 --> 00:25.450 So we have calculated the cost of items all which we have discussed. 00:25.500 --> 00:35.300 Now the thing is that we need to add some Also with this so that the function will book properly. 00:35.450 --> 00:37.320 So we need to do is 00:40.060 --> 00:50.480 like we have to in this particular function like bit to help justify as close to that. 00:50.840 --> 00:54.290 We have to Agur text by the table here. 00:56.410 --> 00:59.980 I will do we how do I get here. 01:01.890 --> 01:04.860 Cost all the things. 01:05.030 --> 01:17.780 Similarly I have to use our next variable here and I do our cost Quasthoff geek's. 01:18.010 --> 01:31.490 Similarly with this where text radiate will haziq will stall saw results 01:35.000 --> 01:41.390 now here I have to use the taxpayer takes the bull 01:44.190 --> 01:45.270 is equal to 01:48.950 --> 01:54.460 big dicks which we have used I really was here. 01:54.490 --> 01:55.550 That takes 28 01:58.660 --> 02:14.890 variable is equal to we have SOP's Nordal And here we really always text ready able is equal to Dartle 02:14.890 --> 02:25.800 cost which we are having to be no let's run this guffin application Frank we will see the working wolves 02:26.400 --> 02:36.180 cost of them is working or not let's say Express always one day and we will have cappuccino as 550 and 02:36.800 --> 02:38.560 while clicking on the total. 02:38.880 --> 02:43.080 So now we are getting done Ostrov brings cost of. 02:43.080 --> 02:49.620 We have not selected any item from the cake we have service charge of 1.5 9. 02:50.070 --> 02:52.660 Similarly we have Vitex calculator. 02:52.680 --> 02:59.820 We have the sum total of 1 9 4 and the total amount which we need to pay is 1 6 0 3. 03:00.210 --> 03:04.060 So we have done the for a total of almost. 03:04.410 --> 03:09.430 We have done the reset option called we have done the exit application code. 03:09.540 --> 03:12.960 Now we will do the work for this application. 03:13.020 --> 03:14.950 We went to court for that. 03:15.270 --> 03:22.980 Let's go on the function section and inside the function section we will create a new function. 03:23.100 --> 03:24.530 Let's define here. 03:25.130 --> 03:35.330 A new function let's say the name of the function is we really use definition and we will use the recept 03:35.350 --> 03:39.970 function inside this recip function. 03:40.150 --> 03:48.210 We will have the text reset dot delete option text reset tardily. 03:48.550 --> 03:52.150 And here we really use one point zero time. 03:52.180 --> 03:55.570 Here we believe Oza and stake mine. 03:56.110 --> 03:58.900 After that we can say X is it will say to 04:01.640 --> 04:06.680 nakes use that random function drawing them toward in detail. 04:07.660 --> 04:10.530 And we will get 1 0 1 9 0. 04:11.910 --> 04:22.410 Ma 5 double 0 8 7 6 we are defining this value because we want to have a big number in that we will 04:22.410 --> 04:25.280 have a number for that number. 04:25.280 --> 04:29.260 We are calculating a random value among these two values. 04:29.460 --> 04:37.830 We will have our random reference variable and that reference variable I really use the string function 04:37.890 --> 04:47.710 and I will pause the x variable here for calculating random value we really use a random reference Dart's 04:47.850 --> 04:56.260 second option and inside these I really use to build option. 04:56.690 --> 05:02.060 And here I will pass random friends. 05:02.210 --> 05:07.920 So we have Bozzio the random reference option. 05:07.970 --> 05:20.840 So after this let's create that extra step and takes this dark inside option inside this inside option. 05:20.850 --> 05:23.180 Let's have an option. 05:23.310 --> 05:28.430 We will have a set of reference here. 05:28.840 --> 05:30.430 And after that. 05:30.790 --> 05:41.010 Inside that is the preference we will use slash the option we will have Dabb option and Ochberg within 05:41.870 --> 05:45.060 our preference bar. 05:46.280 --> 05:49.930 Get function we will use. 05:50.100 --> 05:57.050 After that we been use the tab option 2 times. 05:57.240 --> 05:59.470 We will have sloshy. 06:00.120 --> 06:09.480 And plus we will have to take off our DOT DOT get function quite here and after that what we really 06:09.480 --> 06:13.950 do is we will create the next line here. 06:14.320 --> 06:20.230 But the thing is that we have to remove this particular line from here. 06:20.640 --> 06:30.980 So we have done the code for this point to learn things not what we do with we we do text recept often 06:31.400 --> 06:32.860 dart inside. 06:33.350 --> 06:44.210 Similarly we will with a chord for the rest of the items we will have items and items. 06:44.260 --> 06:53.330 Let's say I want to use the stab option five times and I want to add and here cost. 06:54.130 --> 06:56.520 I wanted to add cost I'll fight them. 06:57.070 --> 06:58.780 Slash and two times.