adding readme and images

This commit is contained in:
Jidong Xiao
2024-04-04 19:20:39 -04:00
parent 0086cbf565
commit a29b7aa4d0
3 changed files with 2 additions and 2 deletions

View File

@@ -27,7 +27,7 @@ Here:
When running the above command, your program should print all products whose prices fall into the [min,max] range. The [min, max] range concept is similar to the following box you see on Amazon.
![alt text](amazon_price_range.png "amazon price range")
![alt text](images/amazon_price_range.png "amazon price range")
For all products fall into that price range, sort them based on the rating in a descending order - products with a higher rating being displayed first. If there is a tie, break the tie by prices - products with a lower price being displayed first. If there is still a tie, i.e. two products have the same rating, and have the same price, break the tie by comparing the title of the products, i.e., apply the less than operator (<) to the two titles - both are std::strings, the product whose title is less than the title of the other product should be displayed first.

View File

@@ -1,4 +1,4 @@
HOMEWORK 9: B+ TREES
HOMEWORK 9: Online Shopping
NAME: < insert name >

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB