Question details

CIS115 Week 1 Lab
$ 15.00

You have an idea for a restaurant tip calculator app that you want to develop to use on your mobile phone when you go out to eat. You can enter the amount of the check before taxes, the tax rate, and the tip percentage. It should display the amount before taxes, the dollar amount of the taxes, the dollar amount of the tip (calculated on amount before taxes), and the total amount including taxes and tip.


1—Variable List With Data Type

List all variables you will use (use valid variable names). Indicate whether the data type is string, integer, or decimal, and so on.

subTotal  (decimal)

taxRate (decimal)

tipPercentage (decimal)

tip (decimal)

taxes (decimal)

totalAmount (decimal)

Available solutions