Coming soon
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.
Subscribe to:
Post Comments (Atom)
python programs
1. sum of two number
-
● Stack ● Queue ● Searching ● Sorting
-
Semester 1 Semester 2 Semester 3 Semester 4 NOTICE: Click To Text And Open It
-
1. Find the Simple Interest. Inputs are principal amount, period in year and rate of interest. 2. Find the area and perimeter of square a...
No comments:
Post a Comment