X-Git-Url: http://git.vanrenterghem.biz/www.vanrenterghem.biz.git/blobdiff_plain/4b1ce0d83844cfd7c55e75a60ccb239882cd62e3..83ab5456767602f2a9860a7db7247f002ec96945:/Linux/while_oef.cpp.shtml diff --git a/Linux/while_oef.cpp.shtml b/Linux/while_oef.cpp.shtml deleted file mode 100644 index b666319..0000000 --- a/Linux/while_oef.cpp.shtml +++ /dev/null @@ -1,34 +0,0 @@ - -
--#include <iostream> -using namespace std; -int main() -{ - int x=0,y=1,z,i=1,n; - cout << "Geef een natuurlijk getal: "; - cin >> n; - cout << "De reeks gaat als volgt: "; - while (i++<n) - { - z=x+y; - y=x; - x=z; - cout << z <<", "; - } - cout << x+y << "." << endl; - return 0; -} -- - -