how to use a structure c++ code example
Example: c++ structure
struct product {
int weight;
double price;
} ;
product apple;
product banana, melon;
struct product {
int weight;
double price;
} ;
product apple;
product banana, melon;