Ordonnancement
algorithme (sémantiquement) correct
algorithme (sémantiquement) incorrect.

       demander("prix hors taxe d'un DVD", pHT);
       demander(" nombre de DVDs achetés", nbDVD);
       pHTTot = nbDVD * pHT;
       pTTCTot = pHTTot + (pHTTot *  mTVA/100);
       afficher ("Prix total TTC des ", nbDVD, " DVDs:", pTTCTot);
  
   
       pHTTot = nbDVD * pHT;        /* pHT et nbDVD n'ont pas de valeur */
       demander("prix hors taxe d'un DVD", pHT);
       demander(" nombre de DVDs achetés", nbDVD);
       pTTCTot = pHTTot + (pHTTot *  mTVA/100);
       afficher ("Prix total TTC des ", nbDVD, " DVDs:", pTTCTot);
      

algorithme (sémantiquement) correct
algorithme (sémantiquement) correct
   
       demander("prix hors taxe d'un DVD", pHT);
       demander(" nombre de DVDs achetés", nbDVD);
       pHTTot = nbDVD * pHT;
       pTTCTot = pHTTot + (pHTTot *  mTVA/100);
       afficher ("Prix total TTC des ", nbDVD, " DVDs:", pTTCTot);
     
   
       demander(" nombre de DVDs achetés", nbDVD);
       demander("prix hors taxe d'un DVD", pHT);
      
       pHTTot = nbDVD * pHT;
       pTTCTot = pHTTot + (pHTTot *  mTVA/100);
       afficher ("Prix total TTC des ", nbDVD, " DVDs:", pTTCTot);
   

suivant     plan