Skip to content

The Tip Calculator is a simple and user-friendly Python program that allows you to quickly calculate tips and sales tax on restaurant bills or other expenses.

Notifications You must be signed in to change notification settings

fantastic-rambo/Tip-Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

WELCOME TO THE TIP CALCULATOR REPO


Tip Calculator

Overview

The Tip Calculator is a simple and user-friendly Python program that allows you to quickly calculate tips and sales tax on restaurant bills or other expenses. It takes the charge for the food as input and then calculates both an 18% tip and a 7% sales tax on the provided charge. Finally, it displays each of these amounts separately and calculates the total amount to be paid, including the charge, tip, and tax.

Features

  • Easy-to-Use: The program is designed to be straightforward and user-friendly. You only need to input the charge for the food, and it handles the rest.

  • Flexible: You can use this calculator for various expenses beyond restaurant bills, making it versatile for everyday use.

  • Loop Functionality: The program includes a loop that allows you to calculate tips and tax for multiple food charges in a single run, making it convenient for calculating expenses for a group of people or multiple meals.

How to Use

  1. Clone or download the repository to your local machine.
  2. Run the script using a Python interpreter.
  3. Enter the charge for the food when prompted.
  4. The program will calculate the 18% tip, 7% sales tax, and display the total amount to be paid.
  5. You can choose to calculate tip and tax for another food charge by entering 'y' when prompted or exit the program by entering 'n'.

Dependencies

  • This program is written in Python, so you need a Python interpreter installed on your machine to run it.

License

This Tip Calculator is open-source software released under the MIT License. You are free to use, modify, and distribute it as needed.

Contributions

Contributions and improvements to the Tip Calculator are welcome! If you'd like to contribute, please fork the repository, make your changes, and submit a pull request.


Contact Me LinkedIn @https://www.linkedin.com/in/isaac-agbogah/

About

The Tip Calculator is a simple and user-friendly Python program that allows you to quickly calculate tips and sales tax on restaurant bills or other expenses.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages