0
Answer

How to sort a list of item with information in ascending order & add item to cart

julita gandy

julita gandy

18y
1.7k
1
Hi, i'm new in C#, kinda confuse so plz help me how to sort and make an item with informations.Should i use array of struct? If got this exercise Q, n kinda confuse, help me plz, thx alotz 1) Function allows the user to specify which particular brand of phones he is interested in.And it'll list all available phones of that brand with information such as model, price, and description. The list sorted in ascending order by phone model. 3) Function allows the user to enter the model of the phone and the number of phones (of the specified model) that he/she is going to buy. That item specified should be added to the cart if it is available; otherwise, an appropriate message should be displayed -------------------------------- Welcome to MOBILE & YOU! Main Menu: 1) Phones by brand 2) Phones by price 3) Add an item to the cart 4) Remove an item from the cart 5) View the cart Enter your option [1-7]: ---------------------------------