Project 2 - Restaurant Calculator OVERVIEW: For this assignment, you will be building a restaurant bill calculator that prints out the results to the console. This isn’t a fully functional calculator - it’s simply using a handful of variables and operators; similar to what’s in the deck. Set th...
docs.google.com
Here if you are still interested.
Collect inputs for four variables.
- Meal #1 Cost [meal1]
- Meal #2 Cost [meal2]
- Meal #3 Cost [meal3]
- Tip % [tipPercent]
Calculate the subtotal of the meal (meal1 + meal2 + meal3). Store this as a variable for easier text ouput coding. [subtotal]
Calculate the value of the tip (subtotal * 0.tipPercent). Store this as a variable for easier text ouput coding. [tipPrice]
Calculate the overall price of the meal (subtotal + tipPrice). Store this as a variable for easier text ouput coding. [total]
Calculate the potential price per individual should the bill be split (total / 3). Store this as a variable for easier text ouput coding. [splitBillPrice]
Write text outputs, using the variables, according to the instructions for the assignment.
This assignment assumes that there will only ever be three customers at a table. I had to do this assignment
in grade 10. It was in the first fucking month of the class.
I've always complained about how rushed high school was in my generation, especially considering how useless elementary school has become (7-9 years of wasted potential and preparation). I don't even know how to describe how disappointed I am reading this assignment outline. That disappointment is then turned into uproarious laughter at the thought of a grown ass man resorting to cancellation attempts over being so incompetent that he needed the prof to do this braindead shit for him.
btw, not a coding major. my knowledge of code is
purely fundamental.
embarrassing.