41 lines
826 B
HTML
41 lines
826 B
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
|
|
<html>
|
|
<head>
|
|
<title>A Program</title>
|
|
<link href="style.css" rel="stylesheet" type="text/css">
|
|
</head>
|
|
<body background="images/back.gif">
|
|
<!--START-->
|
|
|
|
<h3>A program</h3>
|
|
|
|
A program consists of a set of instructions, called statements. A program
|
|
must start with the symbol '{' and end with the symbol '}'. Between these
|
|
symbols there are the statements. Statements must be separated with a ';'
|
|
symbol. So the global structure of every program is:
|
|
|
|
<p>
|
|
<blockquote>
|
|
<pre>
|
|
{
|
|
<statement>;
|
|
<statement>;
|
|
...
|
|
}
|
|
</pre>
|
|
</blockquote>
|
|
|
|
<p>
|
|
There are a number of different types of statements, which will be
|
|
discussed below.
|
|
|
|
<!--END-->
|
|
</body>
|
|
</html>
|
|
|
|
<!-- KEYWORDS
|
|
program
|
|
statements
|
|
statement separator
|
|
--> |