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
-
#include <stdio.h> #include <conio.h> #define n 5 void push (); void pop (); void peek (); void display (); int stack [ n...
No comments:
Post a Comment