<stdio.h> <malloc.h> <conio.h>: # include # include # include struct int float float

June 7, 2020 | Author: Anonymous | Category: N/A
Share Embed Donate


Short Description

Download <stdio.h> <malloc.h> <conio.h>: # include # include # include struct int float float...

Description

ARTICOLE //articol care are campurile cod, cantitate si pret si calculeaza valoarea fiecarui produs si valoarea totala obtinuta

# include # include # include

Pasul 1. Definim articolul cu campurile sale:

struct produs { int cod; float cantitate; float pret; }; void traversare(produs *p, int n) { int i;

cod, cantitate, pret

Pointer care retine adresa

articolului produs printf("\nCod Cantitate Pret"); printf("\n"); for (i = 0; i
View more...

Comments

Copyright ©2017 KUPDF Inc.
SUPPORT KUPDF