Projet 2
Projet 2
Projet 2
BASE DE DONNÉES PYTHON ALGORITHME (COURS) ALGORITHME (EXERCICES) LES FONCTIONS EN ALGORITHME C (EXERCICES) C (COURS) JAVA
projet 2
by Le chemin vers la programmation - mai 17, 2021
SOCIAL PLUGIN
typedef struct {
int jours ;
int mois ;
int annee ;
} Date;
typedef struct {
int ref ;
char titre [100] ;
char aut1[40] ;
char aut2[40];
char aut3[40] ;
char type[40] ;
Date date ;
} Production;
1) void lecteure ( Production P[max], int N) qui permet de saisir les informations de
N productions.
2) void Affichage (Production P[max] , int N) qui permet d’afficher les informations de
N productions.
4) Production * RechType (Production P[max] , int N , char type[30] , int * k) qui permet de
rechercher et retourne un tableau des productions ( un pointeur sur
Production) contenant les Productions d’un type donné ( type). P représente un tableau
de productions et N représente le nombre total de productions, et le troisième
argument k sert à mémoriser le nombre de productions enregistrés dans le tableau
retourné.
6) void AffichOrdre ( Production P[max] , int N ) qui permet d’afficher les productions par ordre
croissant selon la date de production. P représente un tableau de productions et N
représente le nombre total de productions.
Correction
1)
3)
4)
5)
6)
void AffichOrdre(Production P[max],int N)
{ Production aide;
int i,j;
Facebook Twitter
ENREGISTRER UN COMMENTAIRE
0 Commentaires
Saisir un commentaire