]> git.vanrenterghem.biz Git - www.vanrenterghem.biz.git/blobdiff - Linux/while_oef.cpp.shtml
Verwijder verouderde bestanden.
[www.vanrenterghem.biz.git] / Linux / while_oef.cpp.shtml
diff --git a/Linux/while_oef.cpp.shtml b/Linux/while_oef.cpp.shtml
deleted file mode 100644 (file)
index b666319..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-<html>
-<head>
-<title>~/code/while_oef.cpp.html</title>
-<meta name="Generator" content="Vim/6.3" />
-<meta http-equiv="content-type" content="text/html; charset=ISO-8859-15" />
-<meta name="author" content="Frederik Vanrenterghem" />
-<link rel="stylesheet" href="/styles/header.css" type="text/css" />
-<link rel="stylesheet" href="/styles/main.css" type="text/css" />
-</head>
-<body>
-<!--#include virtual='/header.shtml' -->
-<pre>
-<font color="#ff40ff">#include </font><font color="#ff6060">&lt;iostream&gt;</font>
-<font color="#ffff00">using</font> <font color="#00ff00">namespace</font> std;
-<font color="#00ff00">int</font> main()
-{
-  <font color="#00ff00">int</font> x=<font color="#ff6060">0</font>,y=<font color="#ff6060">1</font>,z,i=<font color="#ff6060">1</font>,n;
-  cout &lt;&lt; <font color="#ff6060">&quot;Geef een natuurlijk getal: &quot;</font>;
-  cin &gt;&gt; n;
-  cout &lt;&lt; <font color="#ff6060">&quot;De reeks gaat als volgt: &quot;</font>;
-  <font color="#ffff00">while</font> (i++&lt;n)
-          {
-                  z=x+y;
-                  y=x;
-                  x=z;
-                  cout &lt;&lt; z &lt;&lt;<font color="#ff6060">&quot;, &quot;</font>;
-          }
-  cout &lt;&lt; x+y &lt;&lt; <font color="#ff6060">&quot;.&quot;</font> &lt;&lt; endl;
-  <font color="#ffff00">return</font> <font color="#ff6060">0</font>;
-}
-</pre>
-<!--#include virtual='/footer.shtml' -->
-</body>
-</html>