Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void affiche_details_piece(Nomenclature *N){
- int ref, i = 0, nb_scomp;
- float pds;
- printf("Veuillez rentrer une reference : ");
- scanf("%d",&ref);
- i = recherche_piece_num(N,ref);
- if (i == -1){printf("Cette piece n'est pas dans la nomenclature\n");}
- nb_scomp = nombre_sous_composants(N->Tab[i]);
- pds = poids_total(N->Tab[i]);
- printf("Reference : %d\n Nombre de sous composants : %d\n Poids total : %f\n",ref,nb_scomp,pds);
- affiche_tous_les_sous_composants(N->Tab[i],2);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement