<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">
\begin{figure}[htbp!]
\centering
\begin{tikzpicture}
%styledesn?uds
\tikzstyle{debutfin}=[ellipse,draw,text=red]
\tikzstyle{instruct}=[rectangle,draw,fill=yellow!50]
\tikzstyle{test}=[diamond, aspect=2.5,thick,draw=blue,fill=yellow!50,text=blue]
\tikzstyle{es}=[rectangle,draw,rounded corners=4pt,fill=blue!25]
%styledesflÃ¨ches
\tikzstyle{suite}=[-&gt;,&gt;=stealth,thick,rounded corners=4pt]
\tikzstyle{suiteEtc}=[-&gt;,dotted,thick,&gt;=latex]
%placementdesn?uds
\node[debutfin] (debut) at (0,1.) {DÃ©but};
\node[es] (0) at (0,0) {Instruction 0};
\node[test] (cond) at (0,-2.) {condition};
\node[es] (1) at (4.5,-2) {Instruction 1};
\node[es] (2) at (4.5,-3.5) {Instruction 2};
\node[es] (n) at (4.5,-5.) {Instruction n};
\node[es] (n+1) at (0,-6.) {Instruction n+1};
\node[debutfin] (fin) at (0,-7.) {Fin};
%%Cadre du bloc
\draw[dashed] (2.5,0) |- ++(0,-6) -- ++(5,0) --++ (0,6) -- cycle;
\node[draw=black,dashed,fill=white,text width=4.5cm] (cap1) at (5,0.25) {Bloc d'instructions exÃ©cutÃ© Ã&nbsp; chaque \emph{itÃ©ration} de la boucle};
%%PlacementdesflÃ¨ches
\draw[suite] (debut) -- (0);
\draw[suite] (0) -- (cond.north);
\draw[suite] (cond.east) -- (1) node[midway,fill=white]{true};
\draw[suite] (1) -- (2);
\draw[suiteEtc] (2) -- (n);
\draw[suite] (n)|-(6.5,-5.5) -| (6.5,-0.75) -- (0,-0.75)|-(cond.north);
\draw[suite] (cond.south) -- (n+1) node[midway,fill=white]{false};
\draw[suite] (n+1) -- (fin);
\end{tikzpicture}
\caption{Ordinogramme du fonctionnement d'une boucle}
\label{fig:principeBoucleWhile}
\end{figure}
</pre></body></html>