Correction td preuve d x27 algo

Solutions de TD Prof Abdelmajid Dargham Facult ?e des Sciences Oujda Master Sp ?ecialis ?e Ing ?enierie Informatique Universit ?e Mohamed Premier Septembre CExercice Consid ?erons l ? algorithme suivant Prof Abdelmajid Dargham Chapitre Introduction aux algorithmes CExercice Consid ?erons l ? algorithme suivant Fonction F n Entier Entier Variables x y Entier D ?ebut x n y n Tant Que y Faire x x y y ?? FinTQ Retourner x Fin Prof Abdelmajid Dargham Chapitre Introduction aux algorithmes CExercice Prof Abdelmajid Dargham Chapitre Introduction aux algorithmes CExercice Calculons F F et F Prof Abdelmajid Dargham Chapitre Introduction aux algorithmes CExercice Calculons F F et F F x et y sont initialis ?ees a Prof Abdelmajid Dargham Chapitre Introduction aux algorithmes CExercice Calculons F F et F F x et y sont initialis ?ees a Comme y la boucle ne sera pas ex ?ecut ?ee Prof Abdelmajid Dargham Chapitre Introduction aux algorithmes CExercice Calculons F F et F F x et y sont initialis ?ees a Comme y la boucle ne sera pas ex ?ecut ?ee On sort alors avec x Prof Abdelmajid Dargham Chapitre Introduction aux algorithmes CExercice Calculons F F et F F x et y sont initialis ?ees a Comme y la boucle ne sera pas ex ?ecut ?ee On sort alors avec x F x et y sont initialis ?eesa Prof Abdelmajid Dargham Chapitre Introduction aux algorithmes CExercice Calculons F F et F F x et y sont initialis ?ees a Comme y la boucle ne sera pas ex ?ecut ?ee On sort alors avec x F x et y sont initialis ?eesa Comme y on ex ?ecute la boucle x et y ?? Prof Abdelmajid Dargham Chapitre Introduction aux algorithmes CExercice Calculons F F et F F x et y sont initialis ?ees a Comme y la boucle ne sera pas ex ?ecut ?ee On sort alors avec x F x et y sont initialis ?eesa Comme y on ex ?ecute la boucle x et y ?? Maintenant y on quitte la boucle et l ? on retourne x Prof Abdelmajid Dargham Chapitre Introduction aux algorithmes CExercice Calculons F F et F F x et y sont initialis ?ees a Comme y la boucle ne sera pas ex ?ecut ?ee On sort alors avec x F x et y sont initialis ?eesa Comme y on ex ?ecute la boucle x et y ?? Maintenant y on quitte la boucle et l ? on retourne x F x et y sont initialis ?ees a Prof Abdelmajid Dargham Chapitre Introduction aux algorithmes CExercice Calculons F F et F F x et y sont initialis ?ees a Comme y la boucle ne sera pas ex ?ecut ?ee On sort alors avec x F x et y sont initialis ?eesa Comme y on ex ?ecute la boucle x et y ?? Maintenant y on quitte la boucle et l ? on retourne x F x et y sont initialis ?ees a Comme y on ex ?ecute la boucle x

  • 45
  • 0
  • 0
Afficher les détails des licences
Licence et utilisation
Gratuit pour un usage personnel Aucune attribution requise
Partager