Skip to content

This program calculates a dinner bill by using a tip. It demonstrates a knowledge of Input Handling in Python

Notifications You must be signed in to change notification settings

dunntooni/Tip-Price-Evaluator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

This is a tip calculating program where the user may input a bill amount and select several different means of calculating a tip. These include:

  1. The user inputting a percentage of their bill.
  2. The user giving their server a rating from 1 to 5 stars.
  3. The user manually inputting their desired tip amount.

It then calculates the total price of their bill and displays it.

Development Environment

  • Python 3.8.5
  • Visual Studio Code

Execution

To run: python main.py
Percent:
A user selecting Percent
Quality:
A user selecting Quality
Manual:
A user selecting Manual

Error Checking:
Catching bad data the user could submit

Useful Websites

  1. Python Reference
  2. Stack Overflow Python Questions
  3. W3Schools Python Tutorial

About

This program calculates a dinner bill by using a tip. It demonstrates a knowledge of Input Handling in Python

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages