From b2a18f19c4bd800125e8eaa73b00d26948e0b262 Mon Sep 17 00:00:00 2001 From: Pierre Valarcher Date: Sun, 25 Sep 2022 19:04:30 +0200 Subject: [PATCH] =?UTF-8?q?ajout=20semantique=20op=C3=A9rationnelle=20de?= =?UTF-8?q?=20For?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CtrlBlanc/semOpFor.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 CtrlBlanc/semOpFor.md diff --git a/CtrlBlanc/semOpFor.md b/CtrlBlanc/semOpFor.md new file mode 100644 index 0000000..3889cce --- /dev/null +++ b/CtrlBlanc/semOpFor.md @@ -0,0 +1,16 @@ +La sémantique de la boucle ```for``` est définissable en terme de boucle ```while```: + +```c +for (e1 ; e2; e3) { + … + } + ``` + Devient + + ```c + e1 ; + while (e2) { + … + e3; + } + ``` \ No newline at end of file