Sunday, 24 April 2022

6. Create a structure product with ProductCode (int), Name (char array) and Price data elements. In the main function declare p[5] of product. Do the necessary data entry for all five products. Pass the base address of an array to user defined function inc_price(), which will increase the price of all the products by 10%. Print all the products with all the details again after increasing the price.



 Coming soon

No comments:

Post a Comment

python programs

1. sum of two number