A voir également:
- Algorithme
- Algorithme euromillion excel gratuit - Télécharger - Loisirs créatifs
- Algorithme ajout rapide snapchat - <a href="https://forums.commentcamarche.net/forum/snapchat-333">Forum Snapchat</a>
- Fonction puissance algorithme - <a href="https://forums.commentcamarche.net/forum/algorithmes-methodes-351">Forum Algorithmes / Méthodes</a>
- Algorithme de fibonacci - <a href="https://forums.commentcamarche.net/forum/programmation-3">Forum Programmation</a>
- Algorithme keno excel - <a href="https://forums.commentcamarche.net/forum/libreoffice-openoffice-146">Forum LibreOffice / OpenOffice</a>
1 réponse
Pour les tutoriels
https://www.google.fr/search?q=tutoriel+pascal&ie=utf-8&oe=utf-8&rls=org.mozilla:fr:official&client=firefox-a&gws_rd=ssl
Pour le calcul de y^x il suffit de faire une boucle for. En C ca s'écrit :
Quand tu auras lu les tutoriels je suis sûre que tu n'auras aucun problème à translater l'algorithme en pascal.
Bonne chance
https://www.google.fr/search?q=tutoriel+pascal&ie=utf-8&oe=utf-8&rls=org.mozilla:fr:official&client=firefox-a&gws_rd=ssl
Pour le calcul de y^x il suffit de faire une boucle for. En C ca s'écrit :
unsigned int puissance(unsigned int x,unsigned int y){
unsigned int i,res = x;
if (y == 0) return 1;
for(i=0;i<y-1;++i) res = res * x;
return res;
}
Quand tu auras lu les tutoriels je suis sûre que tu n'auras aucun problème à translater l'algorithme en pascal.
Bonne chance