coursc/branchements/21.tex

15 lines
318 B
TeX
Raw Normal View History

2014-02-24 17:38:56 +00:00
\begin{frame}[containsverbatim]
\frametitle{\secname}
\framesubtitle{\subsecname~II}
\begin{exampleblock}{Exemple d'utilisation d'une boucle while}
\begin{verbatim}
char val = 0;
val = keyboardInput();
while(val < 1 || val > 5) {
val = keyboardInput();
}\end{verbatim}
\end{exampleblock}
\end{frame}