top of page
Engineering Student at DeVry University
Machine Learning/AI Algorithms
Tip Calculator
For this project, I learned about different Data Types - String, Integer, Float, and Boolean. In order to put these concepts into motion, I did a few short exercises on Type Error, Type Checking, and Type Conversion followed by Mathematical Operations and Number Manipulation.
Tip Calculator
1. If the bill was $150.00, split between 5 people, with 12% tip.
2. Each person should pay
(150.00 / 5) * 1.12 = 33.6
3. Format the result to
2 decimal places = 33.60
Tip: There are 2 ways
to round a number.

bottom of page



