<html>  <head> <meta name="GENERATOR" content="Microsoft FrontPage 5.0"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <meta http-equiv="Content-Language" content="fr"> <title>Cours d'Algorithmique - Christophe Darmangeat</title>        <!--mstheme--><link rel="stylesheet" type="text/css" href="_themes/blank/blan1011.css"><meta name="Microsoft Theme" content="blank 1011, default"> </head>  <body>  <div align="center">   <center>  <table border="0" cellpadding="6" cellspacing="0" width="760" style="border-collapse: collapse">   <tr>     <td width="220"><a href="index.htm"><img border="0" src="bt_accueil.jpg" width="110" height="25"></a><br>     <br>      <script language="JavaScript1.1">        <!--        hsh = new Date();        hsd = document;        hsi = '<a href="http://www.xiti.com/xiti.asp?s=98415"';        hsi += 'TARGET="_top"><img width="39" height="25" border=0 ';        hsi += 'src="http://logv20.xiti.com/hit.xiti?s=98415';        hsi += '&p=Enoncs6&hl=' + hsh.getHours() + 'x' + hsh.getMinutes() + 'x' + hsh.getSeconds();        if(parseFloat(navigator.appVersion)>=4)           {Xiti_s=screen;hsi += '&r=' + Xiti_s.width + 'x' + Xiti_s.height + 'x' + Xiti_s.pixelDepth + 'x' + Xiti_s.colorDepth;}        hsd.writeln(hsi + '&ref=' + hsd.referrer.replace('&', '$') + '" title="Mesurez votre audience"></a>');        //-->     </script>     <noscript>        <a href="http://www.xiti.com/xiti.asp?s=98415" TARGET="_top">        <img width="39" height="25" border=0 src="http://logv20.xiti.com/hit.xiti?s=98415&p=Enoncs6&" title="Mesurez votre audience">        </a></noscript> </td>      <td nowrap>     <p align="center">     <span style="font-family: Verdana"><font size="4" color="#008000">     <a name="En6.1"></a></font></span>     <br>     <br>     <span style="font-variant: small-caps">PARTIE 6<br>     <br>     </span><font size="6"><span style="font-variant: small-caps">Enonce      des Exercices</span></font></td>   </tr>   <tr>     <td valign="top" width="220">     <p style="margin-top: 12; margin-bottom: 12">&nbsp;</p>     </td>     <td valign="top">     <p class="MsoBodyText" style="margin-top: 0; margin-bottom: 5">     <br>     <br>     <br> &nbsp;</p>     <p class="MsoBodyText" style="margin-top: 0; margin-bottom: 5">     <span style="font-family: Verdana"><font size="4" color="#008000">Exercice      6.1</font></span></p>     <blockquote>       <p class="MsoBodyText" style="margin-top: 0; margin-bottom: 6" align="justify">     <span style="font-size: 11pt; font-family: Book Antiqua">Ecrire un      algorithme qui dclare et remplisse un tableau de 7 valeurs numriques en      les mettant toutes  zro. </span></p>       <p class="MsoBodyText" style="margin-top: 0; margin-bottom: 0" align="right">       <span style="font-size: 11pt; font-family: Verdana">       <a href="corrigs6.htm#C6.1">corrig</a></span><b><span style="font-family: Lucida Console; font-size: 11pt">       </span></b><span style="font-size: 11pt; font-family: Verdana">-</span><b><span style="font-family: Lucida Console; font-size: 11pt">       </span></b><span style="font-size: 11pt; font-family: Verdana">       <a href="tableaux.htm#^p6.1">retour au cours</a></span><br>       <br> &nbsp;</p>       <hr style="color: #008000; border-style: ridge; border-width: 1" width="75%">     </blockquote>     <p class="MsoBodyText" style="margin-top: 0; margin-bottom: 0">     <span style="font-family: Verdana"><font size="4" color="#008000">     <a name="En6.2"></a></font></span><br>     <br>     <br> &nbsp;</p>     <p class="MsoBodyText" style="margin-top: 0; margin-bottom: 0">     <span style="font-family: Verdana"><font size="4" color="#008000">Exercice      6.2</font></span></p>     <blockquote>       <p class="MsoBodyText" style="margin-top: 0; margin-bottom: 6" align="justify">     <span style="font-size: 11pt; font-family: Book Antiqua">Ecrire un      algorithme qui dclare et remplisse un tableau contenant les six voyelles de      lalphabet latin. </span></p>       <p class="MsoBodyText" style="margin-top: 0; margin-bottom: 0" align="right">       <span style="font-size: 11pt; font-family: Verdana">       <a href="corrigs6.htm#C1.2">corrig</a></span><b><span style="font-family: Lucida Console; font-size: 11pt">       </span></b><span style="font-size: 11pt; font-family: Verdana">-</span><b><span style="font-family: Lucida Console; font-size: 11pt">       </span></b><span style="font-size: 11pt; font-family: Verdana">       <a href="tableaux.htm#Ap6.2">retour au cours</a></span><br>       <br> &nbsp;</p>       <hr style="color: #008000; border-style: ridge; border-width: 1" width="75%">     </blockquote>     <p class="MsoNormal"><span style="font-family: Verdana">     <font size="4" color="#008000"><a name="En6.3"></a></font></span><br>     <br>     <br> &nbsp;</p>     <p class="MsoNormal"><span style="font-family: Verdana">     <font size="4" color="#008000">Exercice 6.3</font></span></p>     <blockquote>       <p class="MsoBodyText" style="margin-top: 0; margin-bottom: 6" align="justify">     <span style="font-size: 11pt; font-family: Book Antiqua">Ecrire un      algorithme qui dclare un tableau de 9 notes, dont on fait ensuite saisir      les valeurs par lutilisateur. </span></p>       <p class="MsoBodyText" style="margin-top: 0; margin-bottom: 0" align="right">       <span style="font-size: 11pt; font-family: Verdana">       <a href="corrigs6.htm#C6.3">corrig</a></span><b><span style="font-family: Lucida Console; font-size: 11pt">       </span></b><span style="font-size: 11pt; font-family: Verdana">-</span><b><span style="font-family: Lucida Console; font-size: 11pt">       </span></b><span style="font-size: 11pt; font-family: Verdana">       <a href="tableaux.htm#Ap6.3">retour au cours</a></span><br>       <br> &nbsp;</p>       <hr style="color: #008000; border-style: ridge; border-width: 1" width="75%">     </blockquote>     <p class="MsoNormal"><font size="4" color="#008000">     <span style="font-family: Verdana"><a name="En6.4"></a></span></font><br>     <br>     <br>     <font size="4" color="#008000">     <span style="font-family: Verdana">Exercice 6.4</span></font></p>     <blockquote>     <p class="MsoBodyText" style="margin-bottom: 6; margin-top:0" align="justify">     <span style="font-size: 11pt; font-family: Book Antiqua">Que produit      lalgorithme suivant&nbsp;?<br>     <br>     </span>     <b><span style="font-size: 9.5pt; font-family: Lucida Console">Tableau</span></b><span style="font-size: 9.5pt; font-family: Lucida Console">      Nb(5) <b>en Entier<br>     </b></span>     <b><span style="font-size: 9.5pt; font-family: Lucida Console">Variable</span></b><span style="font-size: 9.5pt; font-family: Lucida Console">      i <b>en Entier<br>     </b></span>     <b><span style="font-size: 9.5pt; font-family: Lucida Console">Dbut<br>     Pour</span></b><span style="font-size: 9.5pt; font-family: Lucida Console">      i </span>&larr;<span style="font-size: 9.5pt; font-family: Lucida Console">      0  5<br>     &nbsp;&nbsp;&nbsp;&nbsp; Nb(i) </span>&larr;<span style="font-size: 9.5pt; font-family: Lucida Console">      i * i<br>     i<b> Suivant<br>     </b></span>     <b><span style="font-size: 9.5pt; font-family: Lucida Console">Pour</span></b><span style="font-size: 9.5pt; font-family: Lucida Console">      i </span>&larr;<span style="font-size: 9.5pt; font-family: Lucida Console">      0  5<br>     &nbsp;&nbsp;&nbsp;&nbsp; <b>Ecrire</b>      Nb(i)<br>     i<b> Suivant<br>     </b></span>     <b><span style="font-size: 9.5pt; font-family: Lucida Console">Fin<br>     <br>     </span></b>     <span style="font-size: 11pt; font-family: Book Antiqua">Peut-on      simplifier cet algorithme avec le mme rsultat&nbsp;? </span></p>       <p class="MsoBodyText" style="margin-top: 0; margin-bottom: 0" align="right">       <span style="font-size: 11pt; font-family: Verdana">       <a href="corrigs6.htm#C6.4">corrig</a></span><b><span style="font-family: Lucida Console; font-size: 11pt">       </span></b><span style="font-size: 11pt; font-family: Verdana">-</span><b><span style="font-family: Lucida Console; font-size: 11pt">       </span></b><span style="font-size: 11pt; font-family: Verdana">       <a href="tableaux.htm#Ap6.4">retour au cours</a></span><br>       <br> &nbsp;</p>       <hr style="color: #008000; border-style: ridge; border-width: 1" width="75%">     </blockquote>     <p class="MsoNormal"><span style="font-family: Verdana">     <font size="4" color="#008000"><a name="En6.5"></a></font></span><br>     <br>     <br> &nbsp;</p>     <p class="MsoNormal"><span style="font-family: Verdana">     <font size="4" color="#008000">Exercice 6.5</font></span></p>     <blockquote>     <p class="MsoBodyText" style="line-height: 12.0pt; page-break-after: avoid; margin-bottom: 12; margin-top:0">     <span style="font-size: 11pt; font-family: Book Antiqua">Que produit      lalgorithme suivant&nbsp;?<br>     <br>     </span>     <b><span style="font-size: 9.5pt; font-family: Lucida Console">Tableau</span></b><span style="font-size: 9.5pt; font-family: Lucida Console">      N(6) <b>en Entier<br>     </b></span>     <b><span style="font-size: 9.5pt; font-family: Lucida Console">Variables</span></b><span style="font-size: 9.5pt; font-family: Lucida Console">      i, k <b>en Entier<br>     <br>     </b></span>     <b><span style="font-size: 9.5pt; font-family: Lucida Console">Dbut<br>     </span></b>     <span style="font-size: 9.5pt; font-family: Lucida Console">N(0) </span>     &larr;<span style="font-size: 9.5pt; font-family: Lucida Console">      1<br>     </span>     <b><span style="font-size: 9.5pt; font-family: Lucida Console">Pour</span></b><span style="font-size: 9.5pt; font-family: Lucida Console">      k </span>&larr;<span style="font-size: 9.5pt; font-family: Lucida Console">      1  6<br>     &nbsp;&nbsp;&nbsp;&nbsp; N(k) </span>     &larr;<span style="font-size: 9.5pt; font-family: Lucida Console">      N(k-1) + 2<br>     k<b> Suivant<br>     </b></span>     <b><span style="font-size: 9.5pt; font-family: Lucida Console">Pour</span></b><span style="font-size: 9.5pt; font-family: Lucida Console">      i </span>&larr;<span style="font-size: 9.5pt; font-family: Lucida Console">      0  6<br>     &nbsp;&nbsp;&nbsp;&nbsp; <b>Ecrire</b>      N(i)<br>     i<b> Suivant</b></span><b><span style="font-size: 9.5pt; font-family: Lucida Console"><br>     Fin<br>     <br>     </span></b>     <span style="font-size: 11pt; font-family: Book Antiqua">Peut-on      simplifier cet algorithme avec le mme rsultat&nbsp;? </span></p>       <p class="MsoBodyText" style="margin-top: 0; margin-bottom: 0" align="right">       <span style="font-size: 11pt; font-family: Verdana">       <a href="corrigs6.htm#C6.5">corrig</a></span><b><span style="font-family: Lucida Console; font-size: 11pt">       </span></b><span style="font-size: 11pt; font-family: Verdana">-</span><b><span style="font-family: Lucida Console; font-size: 11pt">       </span></b><span style="font-size: 11pt; font-family: Verdana">       <a href="tableaux.htm#Ap6.5">retour au cours</a></span><br>       <br> &nbsp;</p>       <hr style="color: #008000; border-style: ridge; border-width: 1" width="75%">     </blockquote>     <p class="MsoHeader"><span style="font-family: Verdana">     <font size="4" color="#008000"><a name="En6.6"></a></font></span><br>     <br>     <br> &nbsp;</p>     <p class="MsoHeader"><span style="font-family: Verdana">     <font size="4" color="#008000">Exercice 6.6</font></span></p>     <blockquote>     <p class="MsoBodyText" style="line-height: 12.0pt; page-break-after: avoid; margin-bottom: 12; margin-top:0">     <span style="font-size: 11pt; font-family: Book Antiqua">Que produit      lalgorithme suivant&nbsp;?<br>     <br>     </span>     <b><span style="font-size: 9.5pt; font-family: Lucida Console">Tableau</span></b><span style="font-size: 9.5pt; font-family: Lucida Console">      Suite(7) <b>en Entier<br>     </b></span>     <b><span style="font-size: 9.5pt; font-family: Lucida Console">Variable</span></b><span style="font-size: 9.5pt; font-family: Lucida Console">      i <b>en Entier<br>     </b></span>     <b><span style="font-size: 9.5pt; font-family: Lucida Console">Dbut<br>     </span></b>     <span style="font-size: 9.5pt; font-family: Lucida Console">Suite(0) </span>     &larr;<span style="font-size: 9.5pt; font-family: Lucida Console">      1<br>     Suite(1) </span>     &larr;<span style="font-size: 9.5pt; font-family: Lucida Console">      1<br>     </span>     <b><span style="font-size: 9.5pt; font-family: Lucida Console">Pour</span></b><span style="font-size: 9.5pt; font-family: Lucida Console">      i </span>&larr;<span style="font-size: 9.5pt; font-family: Lucida Console">      2  7<br>     &nbsp;&nbsp;&nbsp;&nbsp; Suite(i) </span>&larr;<span style="font-size: 9.5pt; font-family: Lucida Console">      Suite(i-1) + Suite(i-2)<br>     i<b> suivant<br>     </b></span>     <b><span style="font-size: 9.5pt; font-family: Lucida Console">Pour</span></b><span style="font-size: 9.5pt; font-family: Lucida Console">      i </span>&larr;<span style="font-size: 9.5pt; font-family: Lucida Console">      0  7<br>     &nbsp;&nbsp;&nbsp;&nbsp; <b>Ecrire</b>      Suite(i)<br>     i<b> suivant<br>     </b></span>     <b><span style="font-size: 9.5pt; font-family: Lucida Console">Fin</span></b></p>       <p class="MsoBodyText" style="margin-top: 0; margin-bottom: 0" align="right">       <span style="font-size: 11pt; font-family: Verdana">       <a href="corrigs6.htm#C6.6">corrig</a></span><b><span style="font-family: Lucida Console; font-size: 11pt">       </span></b><span style="font-size: 11pt; font-family: Verdana">-</span><b><span style="font-family: Lucida Console; font-size: 11pt">       </span></b><span style="font-size: 11pt; font-family: Verdana">       <a href="tableaux.htm#Ap6.6">retour au cours</a></span><br>       <br> &nbsp;</p>     </blockquote>     <hr style="color: #008000; border-style: ridge; border-width: 1" width="75%">     <p class="MsoNormal"><span style="font-family: Verdana">     <font size="4" color="#008000"><a name="En6.7"></a></font></span><br>     <br>     <br> &nbsp;</p>     <p class="MsoNormal"><span style="font-family: Verdana">     <font size="4" color="#008000">Exercice 6.7</font></span></p>     <blockquote>     <p class="MsoBodyText" style="margin-bottom: 6; margin-top:0" align="justify">     <span style="font-size: 11pt; font-family: Book Antiqua">Ecrivez la fin de      lalgorithme 6.3 afin que le calcul de la moyenne des notes soit effectu et      affich  lcran. </span></p>       <p class="MsoBodyText" style="margin-top: 0; margin-bottom: 0" align="right">       <span style="font-size: 11pt; font-family: Verdana">       <a href="corrigs6.htm#C6.7">corrig</a></span><b><span style="font-family: Lucida Console; font-size: 11pt">       </span></b><span style="font-size: 11pt; font-family: Verdana">-</span><b><span style="font-family: Lucida Console; font-size: 11pt">       </span></b><span style="font-size: 11pt; font-family: Verdana">       <a href="tableaux.htm#Ap6.7">retour au cours</a></span><br>       <br> &nbsp;</p>     </blockquote>     <hr style="color: #008000; border-style: ridge; border-width: 1" width="75%">     <p class="MsoNormal"><span style="font-family: Verdana">     <font size="4" color="#008000"><a name="En6.8"></a></font></span><br>     <br>     <br> &nbsp;</p>     <p class="MsoNormal"><span style="font-family: Verdana">     <font size="4" color="#008000">Exercice 6.8</font></span></p>     <blockquote>       <p class="MsoBodyText" style="margin-top: 0; margin-bottom: 6" align="justify">       <span style="font-size: 11pt; font-family: Book Antiqua">Ecrivez un      algorithme permettant  lutilisateur de saisir un nombre quelconque de      valeurs, qui devront tre stockes dans un tableau. Lutilisateur doit donc      commencer par entrer le nombre de valeurs quil compte saisir. Il effectuera        ensuite cette saisie. Enfin, une fois la saisie termine, le programme affichera le nombre de valeurs ngatives et le      nombre de valeurs positives. </span></p>       <p class="MsoBodyText" style="margin-top: 0; margin-bottom: 0" align="right">       <span style="font-size: 11pt; font-family: Verdana">       <a href="corrigs6.htm#C6.8">corrig</a></span><b><span style="font-family: Lucida Console; font-size: 11pt">       </span></b><span style="font-size: 11pt; font-family: Verdana">-</span><b><span style="font-family: Lucida Console; font-size: 11pt">       </span></b><span style="font-size: 11pt; font-family: Verdana">       <a href="tableaux.htm#Ap6.8">retour au cours</a></span><br>       <br> &nbsp;</p>     </blockquote>     <hr style="color: #008000; border-style: ridge; border-width: 1" width="75%">     <p class="MsoNormal" dir="ltr"><span style="font-family: Verdana">     <font size="4" color="#008000"><a name="En6.9"></a></font></span><br>     <br>     <br> &nbsp;</p>     <p class="MsoNormal"><span style="font-family: Verdana">     <font size="4" color="#008000">Exercice 6.9</font></span></p>     <blockquote>       <p class="MsoBodyText" style="margin-top: 0; margin-bottom: 6" align="justify">       <span style="font-size: 11pt; font-family: Book Antiqua">Ecrivez un      algorithme calculant la somme des valeurs dun tableau (on suppose que le      tableau a t pralablement saisi). </span></p>       <p class="MsoBodyText" style="margin-top: 0; margin-bottom: 0" align="right">       <span style="font-size: 11pt; font-family: Verdana">       <a href="corrigs6.htm#C6.9">corrig</a></span><b><span style="font-family: Lucida Console; font-size: 11pt">       </span></b><span style="font-size: 11pt; font-family: Verdana">-</span><b><span style="font-family: Lucida Console; font-size: 11pt">       </span></b><span style="font-size: 11pt; font-family: Verdana">       <a href="tableaux.htm#Ap6.9">retour au cours</a></span><br>       <br> &nbsp;</p>     </blockquote>     <hr style="color: #008000; border-style: ridge; border-width: 1" width="75%">     <p class="MsoNormal"><span style="font-family: Verdana">     <font size="4" color="#008000"><a name="En6.10"></a></font></span><br>     <br>     <br> &nbsp;</p>     <p class="MsoBodyText" style="line-height: 12.0pt; page-break-after: avoid; margin-bottom: .0001pt">     <span style="font-family: Verdana">     <font size="4" color="#008000">Exercice 6.10</font></span></p>     <blockquote>     <p class="MsoBodyText" style="margin-bottom: 6; margin-top:0" align="justify">     <span style="font-size: 11pt; font-family: Book Antiqua">Ecrivez un      algorithme constituant un tableau,  partir de deux tableaux de mme      longueur pralablement saisis. Le nouveau tableau sera la somme des lments      des deux tableaux de dpart. <br>     <br>     Exemple&nbsp;: <br>     <br>     Tableau 1&nbsp;:      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4  8  7  9  1  5  4  6<br>     Tableau 2&nbsp;:      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;7  6  5  2  1  3  7  4<br>     Tableau       constituer&nbsp;: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 11  14  12  11  2  8  11 - 10 </span></p>       <p class="MsoBodyText" style="margin-top: 0; margin-bottom: 0" align="right">       <span style="font-size: 11pt; font-family: Verdana">       <a href="corrigs6.htm#C6.10">corrig</a></span><b><span style="font-family: Lucida Console; font-size: 11pt">       </span></b><span style="font-size: 11pt; font-family: Verdana">-</span><b><span style="font-family: Lucida Console; font-size: 11pt">       </span></b><span style="font-size: 11pt; font-family: Verdana">       <a href="tableaux.htm#Ap6.10">retour au cours</a></span><br>       <br> &nbsp;</p>     <hr style="color: #008000; border-style: ridge; border-width: 1" width="75%">     <p class="MsoNormal"><span style="font-family: Verdana">     <font size="4" color="#008000"><a name="En6.11"></a></font></span><br>     <br>     <br> &nbsp;</p>     </blockquote>     <p class="MsoNormal"><span style="font-family: Verdana">     <font size="4" color="#008000">Exercice 6.11</font></span></p>     <blockquote>     <p class="MsoBodyText" style="margin-bottom: 6; margin-top:0" align="justify">     <span style="font-size: 11pt; font-family: Book Antiqua">Toujours  partir      de deux tableaux prcdemment saisis, crivez un algorithme qui calcule le      schtroumpf des deux tableaux. Pour calculer le schtroumpf, il faut      multiplier chaque lment du tableau 1 par chaque lment du tableau 2, et      additionner le tout. <br>     <br>     Exemple&nbsp;: <br>     <br>     Tableau 1&nbsp;:      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;4  8  7&nbsp; - 12<br>     Tableau 2&nbsp;:      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3  6     <br>     Le Schtroumpf :<br>     3*4 + 3*8 + 3*7 + 3*12 + 6*4 + 6*8 + 6*7 + 6*12 =      279</span></p>       <p class="MsoBodyText" style="margin-top: 0; margin-bottom: 0" align="right">       <span style="font-size: 11pt; font-family: Verdana">       <a href="corrigs6.htm#C6.11">corrig</a></span><b><span style="font-family: Lucida Console; font-size: 11pt">       </span></b><span style="font-size: 11pt; font-family: Verdana">-</span><b><span style="font-family: Lucida Console; font-size: 11pt">       </span></b><span style="font-size: 11pt; font-family: Verdana">       <a href="tableaux.htm#Ap6.11">retour au cours</a></span><br>       <br> &nbsp;</p>     <hr style="color: #008000; border-style: ridge; border-width: 1" width="75%">     <p class="MsoNormal"><span style="font-family: Verdana">     <font size="4" color="#008000"><a name="En6.12"></a></font></span><br>     <br>     <br> &nbsp;</p>     </blockquote>     <p class="MsoNormal"><span style="font-family: Verdana">     <font size="4" color="#008000">Exercice 6.12</font></span></p>     <blockquote>     <p class="MsoBodyText" style="margin-bottom: 6; margin-top:0" align="justify">     <span style="font-size: 11pt; font-family: Book Antiqua">Ecrivez un      algorithme qui permette la saisie dun nombre quelconque de valeurs, sur le      principe de lex 6.8. Toutes les valeurs doivent tre ensuite augmentes de      1, et le nouveau tableau sera affich  lcran. </span></p>       <p class="MsoBodyText" style="margin-top: 0; margin-bottom: 0" align="right">       <span style="font-size: 11pt; font-family: Verdana">       <a href="corrigs6.htm#C6.12">corrig</a></span><b><span style="font-family: Lucida Console; font-size: 11pt">       </span></b><span style="font-size: 11pt; font-family: Verdana">-</span><b><span style="font-family: Lucida Console; font-size: 11pt">       </span></b><span style="font-size: 11pt; font-family: Verdana">       <a href="tableaux.htm#Ap6.12">retour au cours</a></span><br>       <br> &nbsp;</p>     <hr style="color: #008000; border-style: ridge; border-width: 1" width="75%">     <p class="MsoNormal"><span style="font-family: Verdana">     <font size="4" color="#008000"><a name="En6.13"></a></font></span><br>     <br>     <br> &nbsp;</p>     </blockquote>     <p class="MsoNormal"><span style="font-family: Verdana">     <font size="4" color="#008000">Exercice 6.13</font></span></p>     <blockquote>     <p class="MsoBodyText" style="margin-bottom: 6; margin-top:0" align="justify">     <span style="font-size: 11pt; font-family: Book Antiqua">Ecrivez un      algorithme permettant, toujours sur le mme principe,  lutilisateur de      saisir un nombre dtermin de valeurs. Le programme, une fois la saisie      termine, renvoie la plus grande valeur en prcisant quelle position elle      occupe dans le tableau. On prendra soin deffectuer la saisie dans un      premier temps, et la recherche de la plus grande valeur du tableau dans un      second temps.</span></p>       <p class="MsoBodyText" style="margin-top: 0; margin-bottom: 0" align="right">       <span style="font-size: 11pt; font-family: Verdana">       <a href="corrigs6.htm#C6.13">corrig</a></span><b><span style="font-family: Lucida Console; font-size: 11pt">       </span></b><span style="font-size: 11pt; font-family: Verdana">-</span><b><span style="font-family: Lucida Console; font-size: 11pt">       </span></b><span style="font-size: 11pt; font-family: Verdana">       <a href="tableaux.htm#Ap6.13">retour au cours</a></span><br>       <br> &nbsp;</p>     <hr style="color: #008000; border-style: ridge; border-width: 1" width="75%">     <p class="MsoNormal"><span style="font-family: Verdana">     <font size="4" color="#008000"><a name="En6.14"></a></font></span><br>     <br>     <br> &nbsp;</p>     </blockquote>     <p class="MsoNormal"><span style="font-family: Verdana">     <font size="4" color="#008000">Exercice 6.14</font></span></p>     <blockquote>     <p class="MsoBodyText" style="margin-bottom: 6; margin-top:0" align="justify">     <span style="font-family: Book Antiqua; font-size: 11pt">Toujours et encore     </span>     <span style="font-size: 11pt; font-family: Book Antiqua">sur le mme      principe, crivez un algorithme permettant,  lutilisateur de saisir      les notes d'une classe. Le programme, une fois la saisie termine, renvoie      le nombre de ces notes suprieures  la moyenne <b>de la classe</b>.</span></p>       <p class="MsoBodyText" style="margin-top: 0; margin-bottom: 0" align="right">       <span style="font-size: 11pt; font-family: Verdana">       <a href="corrigs6.htm#C6.14">corrig</a></span><b><span style="font-family: Lucida Console; font-size: 11pt">       </span></b><span style="font-size: 11pt; font-family: Verdana">-</span><b><span style="font-family: Lucida Console; font-size: 11pt">       </span></b><span style="font-size: 11pt; font-family: Verdana">       <a href="tableaux.htm#Ap6.14">retour au cours</a></span></p>     </blockquote>     </td>   </tr>   </table>    </center> </div>  </body>  </html> 
