Free help with homework

Why join Brainly?

  • ask questions about your assignment
  • get answers with explanations
  • find similar questions

Create an array of "hw_item" structure and sort it based on its price using selection sort. Each "hw_items" contains its name, description, quantity and



Find the code attached as struct_sort.cpp
There is a pic of sample input as input.png
and a pic of sample output as output.png

How to run
(1) compile and run
(2) then input total number of items
(3) now input name, description, quantity and price for each item.

You are done !! :)

In case of doubt or any further queries-
(1) message me
(2) mail me : [email protected]
0 0 0
The Brain
  • The Brain
  • Helper
Not sure about the answer?
Learn more with Brainly!
Having trouble with your homework?
Get free help!
  • 80% of questions are answered in under 10 minutes
  • Answers come with explanations, so that you can learn
  • Answer quality is ensured by our experts