Tip, Tax, and Total (MOD3)
A Demonstration Series
From: Program Design and Development
Gaddis Textbook: Chapter 2
Objectives: I will be using this program example in a series to show how projects grow into complex applications. We will start very simple and add new procedures as we go. You should be looking at the first demo in my coding site MOD3. From here I will add techniques by moving on to MOD4.
First Instructions: Design a program that calculates the total amount of a meal purchased at a restaurant. The program should ask the user to enter the charge for the food, and then calculate the amount of a 15 percent tip and 7 percent sales tax. Display each of these amounts and the total.
You might want to give this program your best effort and then check your results or you could just follow along with my demonstration. The main thing is to see if you can master this small project here before we move on to a more complex project.
After completing Tip, Tax, and Total here you should move on to MOD 4 for the next demonstration.
Video #1: Introduction
Video #2: Output Described
Video #3: A Program Analysis Work Sheet
Video #4: Flowgorithm Demo
Video #5: Pseudocode
Now, see if you can complete this one. Once you master Tip Tax and Total you will be ready for a different project. Let me know how this worked out for you.
Video to describe:
Picture of code for you to enter if you want to.