Langage C FONCTION A ECRIR
Résolu/Fermé
kendi
-
3 mai 2009 à 21:37
mamiemando Messages postés 33079 Date d'inscription jeudi 12 mai 2005 Statut Modérateur Dernière intervention 23 avril 2024 - 4 mai 2009 à 01:24
mamiemando Messages postés 33079 Date d'inscription jeudi 12 mai 2005 Statut Modérateur Dernière intervention 23 avril 2024 - 4 mai 2009 à 01:24
A voir également:
- Langage C FONCTION A ECRIR
- Fonction si et - Guide
- Langage ascii - Guide
- Fonction moyenne excel - Guide
- Fonction somme excel - Guide
- Fonction trier excel - Guide
1 réponse
mamiemando
Messages postés
33079
Date d'inscription
jeudi 12 mai 2005
Statut
Modérateur
Dernière intervention
23 avril 2024
7 749
4 mai 2009 à 01:24
4 mai 2009 à 01:24
Comment faire ?
Lire le cours sur les boucles for.
Et lire : http://www.commentcamarche.net/faq/sujet 10925 demander de l aide pour vos exercices sur ccm
Voici un squelette pour démarrer :
Bonne chance
Lire le cours sur les boucles for.
Et lire : http://www.commentcamarche.net/faq/sujet 10925 demander de l aide pour vos exercices sur ccm
Voici un squelette pour démarrer :
#include <stdio.h> void afficher_tableau(int *tab,unsigned taille){ unsigned i; for(i=0;i<taille;++i) printf("%d ",tab[i]); printf("\n"); } int main(){ int tab[5]; tab[0] = 0; tab[1] = 5; tab[2] = 3; tab[3] = 7; tab[4] = 2; afficher_tableau(tab,5); return 0; }
Bonne chance