putting data into array of struct
This commit is contained in:
parent
c182be9758
commit
d4af5c48af
|
@ -59,7 +59,8 @@ int main()
|
|||
index++;
|
||||
}
|
||||
|
||||
for (int i = 0; i < MAX_VENDORS; i++) {
|
||||
for (int i = 0; i < MAX_VENDORS; i++)
|
||||
{
|
||||
printf("%d | %s %s %d %d\n", i, vendors[i].vendor_name, vendors[i].merchandise, vendors[i].inventory_count, vendors[i].item_price_baht);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue