Here's a sample program using an array.
OK so this this totals we already scores no resolution so we'll radically jump into the program.
So here I have declared an array variable with digitally type which can hold five values.
OK so this is the syntax like how mentioned the variable name and then the square brackets we need to
mention the same values you are going to store.
And is there a whole you can initialize the values to the array.
OK so now I want to print this at a values you know in the sequence.
Also I just want the say I'm putting out if for condition here.
So what what did happen is like I have insula equal to zero.
OK.
That I equal less than five.
So if I use it then face all these conditions to.
This blueprint.
OK so this look will be it's good here and five times OK.
Actually we five dams and all the fine data elements of this array of this array will be printed in
the sequence.
OK so I equal to zero.
OK.
I use less than five years as a were destroyed to come here to print zero here then it will print the
array of zero value or here.
OK.
So lengthwise like this it reprint anything under this condition phrase.
OK so right.
What it happens is like area of zero will contain the value of an array of 1 will continually Bronte
are have to contain the value of study array of three will contain the value of forty three or four
will contain a value 50.
OK so let's execute this one and see what happens
if you see here see as I told you earlier array of 0 3 0 contestant 1 condensed on the RF can to convince
30 out of three countries for tariff for contents hosting.
This is how we how to declare initialize and the access data elements are using an array.
Thanks for watching this video.
I'll catch you guys in another edition.
Bye for now.