Algorithme

joanice -  
 joanice -
Bonjour,
commment écrire l'algorithme qui permet la recherche d'un élément non-triés? l'élément est donné par l'utilisateur!!
merci
Configuration: Windows XP
Firefox 2.0.0.9

2 réponses

  1. blux Messages postés 2046 Date d'inscription   Statut Modérateur Dernière intervention   3 455
     
    Salut,

    ben à part le parcours séquentiel, je ne vois pas...

    I=0
    TANT QUE NON FIN DE LISTE
    SI ELEMENT[i] EST DIFFERENT DE ELEMENT_CHERCHE
    ALORS INCREMENTER I
    SINON AFFICHER TROUVE EN I
    IS
    FIN TANT QUE

    0
  2. joanice
     
    merci mais il existe 3 méthode différent qu'on m'a dit mais je ne les trouve pas!
    merci
    0