Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Find the total of three purchased item: A customer in a store is purchasing three items. Write a program that ask the user to enter

image text in transcribed
Find the total of three purchased item: A customer in a store is purchasing three items. Write a program that ask the user to enter the prices of the three items and store them in three variables. Display each item's price, the subtotal of the sale, the amount of sales tax, and the total. Assume the sales tax is 6% (remember to declare sales tax variable as constant and initialize it with 0.06 (6%).) Expected Output: CA Microsoft Visual Studio Debug Console Please enter the price for Item 1: $ 56.7 Please enter the price for Item 2: $ 28.32 Please enter the price for Item 3: $ 15.08 Item 1: $56.7 Item 2: $28.32 Item 3: $15.08 I Subtotal: $100.1 Sales tax: $6.006 Total: $106.106

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Inductive Databases And Constraint Based Data Mining

Authors: Saso Dzeroski ,Bart Goethals ,Pance Panov

2010th Edition

1489982175, 978-1489982179

More Books

Students also viewed these Databases questions