Code week
This week's post is dedicated to the European Code Week
My First JavaScript code!!!
Second example
Variables!!!
First No: = 21
Second No: = 12
21 + 12 = 33
21 - 12 = 9
21 * 12 = 252
21 / 12 = 1.75
Third example
Arrays!!!
students array
Peta
Larry
Aaron
Everest
Elizabeth
The number of items in students array is 5
The SORTED students array
Aaron
Elizabeth
Everest
Larry
Peta
The REVERSED students array
Peta
Larry
Everest
Elizabeth
Aaron
THE students array after REMOVING the LAST item
Peta
Larry
Everest
Elizabeth
THE students array after PUSH
Peta
Larry
Everest
Elizabeth
New Stuff
Fourth example
Using while loops
Fibonacci series less than 40
0
1
1
2
3
5
8
13
21
34
Fifth example
If...Else Statments!!!
Good Morning!!!
Sixth example
Good Morning!!!
Second No: = 12
21 + 12 = 33
21 - 12 = 9
21 * 12 = 252
21 / 12 = 1.75
Third example
Peta
Larry
Aaron
Everest
Elizabeth
The number of items in students array is 5
The SORTED students array
Aaron
Elizabeth
Everest
Larry
Peta
The REVERSED students array
Peta
Larry
Everest
Elizabeth
Aaron
THE students array after REMOVING the LAST item
Peta
Larry
Everest
Elizabeth
THE students array after PUSH
Peta
Larry
Everest
Elizabeth
New Stuff
Fourth example
Using while loops
Fibonacci series less than 40
0
1
1
2
3
5
8
13
21
34
Fifth example
Sixth example
Good Morning!!!
0 коммент.