SEARCHING AND SORTING

Hello, any help of any kind will be very much appreciated.
I've done the other part of the question but my code is actually useless without this first part

here it is:
"Write down a function that accepts a set of products names that are avilable in a stock;
their unit prices and no of units sold from each stock in four periods in a year. Assume that there can be 100 different items in the stock.Then find the amount of sales of each product and the total amount of sales..."

The other part involves sorting and searching for specific products info but i'm okay with that. I could also use structures but i'm asked to use functions and i need some help with that.

Thanks..
Last edited on
Topic archived. No new replies allowed.