-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathintro8.html
More file actions
92 lines (57 loc) · 2.48 KB
/
intro8.html
File metadata and controls
92 lines (57 loc) · 2.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
<html>
<head>
<link type="text/css" rel="stylesheet" href="example.css"></link>
</head>
<body bgcolor="" >
<ul id="u1">
<li id="l1"><a class="ac" href="Home.html" id="a1"><b>Home</b></a></li>
<li id="l1"><a href="AboutUs.html" id="a2"><b>About Us</b></a></li>
<li id="l1"><a href="#contact" id="a2"><b>History of Java</b></a></li>
<li id="l1"><a href="#about" id="a2"><b>Objectives</b></a></li>
</ul>
<table>
<tr>
<td align="left" valign="top">
<a href="intro.html"><img src="image/jj.jpg" width="150" height="150"></a><br>
<a href="intro2.html"><img src="image/j2.jpg" width="150" height="150"></a><br>
<a href="intro8.html"><img src="image/j3.jpg" width="150" height="150"></a><br>
<a href="intro3.html"><img src="image/j4.jpg" width="150" height="150"></a><br>
<a href="intro4.html"><img src="image/j5.jpg" width="150" height="150"></a><br>
<a href="intro5.html"><img src="image/j6.jpg" width="150" height="150"></a><br>
<a href="intro6.html"><img src="image/j7.jpg" width="150" height="150"></a><br>
<a href="intro7.html"><img src="image/j8.jpg" width="150" height="150"></a><br>
</td>
<td align="left" valign="top">
<pre>
<center><font face="Times New Romance" size="8" color="blue">Decision making and looping</font></center>
<font face="Times New Roman" size="4">
The iteration statements aloow a set of instructions to be performed repeatedly until
a certain condition is fulfilled. The iteration statements are also called loops or
looping statements. Java provides three kinds of loops:
• While loop
• do-while loop
• for loop
All three constructs of java repeat a set of statements as long as a specified condition
remains true. The specified condition is generally referred to as a loop control. For all
three loop statements, a true condition is any nonzero value. A zero value indicates a false condition.
Example<br><br>
<a href="A1.html">Write your name five times using for loop</a>
Example<br><br>
<a href="A2.html">Write your name five times using while loop</a>
Example<br><br>
<a href="E.html">Write a java program to get five numbers and add that numbers</a>
Example<br><br>
<a href="F.html">while loop</a>
Example<br><br>
<a href="G.html">loop</a>
</a><br><br>
</font>
</td>
<td align="right" valign="top">
.<br><br><br><br><br><br>
<img src="image/looping.jpg" width="350" height="350">
</td>
</tr>
</table>
</body>
</html>