Inspiration
We've had some friends waste money because they didn't compare a variety of prices. Maybe at one point we argued to our parents that they could've gotten a better deal at some Christmas.
What it does
The user inputs a type of product they will buy and their budget. They will then list 3 products and their prices and ratings, and the program will output the cheapest product and it's rating. It will also display how much they will save depending on their budget and whether it would be a good deal depending on the rating. With this, people will be able to save money by buying cheaper and decent products.
How we built it
This was made in C++ and archived through GitHub. We also used an online compiler and programming environment.
Challenges we ran into
There was a lot of debugging we had to do before it successfully compiled. Specifically class definitions weren't recognized by the compiler as well. It turns out we misspelled our include guard #ifndef as #ifdef, so we couldn't compile the code for 3 hours until that was fixed
Accomplishments that we're proud of
We were proud that we got this code working within a day. Usually it takes us 3 days to finish school coding assignments and products. We're also proud that we managed to finish our first hackathon project. To be honest, we were about to give up before that error was fixed.
What we learned
We got a little better on understanding arrays and how to access and mutate members. We also got better at using GitHub to save and upload code. Surely we won't be misspelling #ifndef include guard anytime soon.
What's next for Money/Price Calculator
If we had the time, we could've used the rating variable to determine a best value output that had a decent price but the best rating. We could have increased how many items the person can list instead of 3. Maybe add another type of thing the person wants to buy; we can have it loop until the person wants to stop. In the far future, when we make a bot that takes in price data and rating data from many shopping sites, we can use this program easily compare the data collected. We may even make a website for it. However, we are C++ beginners, and that we will get there soon
Log in or sign up for Devpost to join the conversation.