Monday
It
February
Lecture
II
:I&s r8io!ts
:Bstored values Array of Integers to there is pattern on
12
‘
-0£
10 0090929
7 -⇒seqi⇒
int[] seq = new int[10]; 240 TO I 9⇒,÷9!0*n0÷0÷9¥9¥4:0÷-¥4•
Declaration and Initialization
:
“‘ ‘7
seq[0] = 7;
‘
: 31
for(int i = 1; i < seq.length; i++) { seq[i] = seq[i - 1] + 3;
}
→
.
..
to 4
loao
4
9
see 140 o
String The
-
names
=
String
Accessing
the
a
a
THE] a =
neehtt?],
assignment
IT
-
new E ? Is
value prank
stored Cats ]
slot : )
of a az-
dot 8;
:
-
4 for fine
EDE t
I
a length
t
E- Os
Computational Problem :
Average
NT¥4e¥s¥t
¥$
.
↳
68 eises
o.o into
sumtns .
#IJo
€1
m⇒→8888 numbers
sum
-
-
bwYnumbz.kgth
D
=
sum Ec I
o
.io# -
Case Test I
-
k
Sunt
sum - ]
nsu
n
T¥q
3×917 I
→
sunt 4T
3 into dens
scam
I
.
. ...
'e
ns.lagth
→
÷⇐
Computational Problem : Printing Backwards
index T@m4mI
.
ex En1nsp[ y
3
→
numbers
-7
a
72 =3
-
O Ins
" for¥3; ;i. -
] 's:
ns.kg#-lyz .I
...
Yk 3I ' Y
"
?
-
I
print Ee
.
, O