Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I can't seem to figure out which variable goes in front of Subtotal, Tax, and Total! tem 4: tem 5: $99.81 $5.31 subtotal: $572.42 $47.2246

image text in transcribed

image text in transcribed

image text in transcribed

I can't seem to figure out which variable goes in front of Subtotal, Tax, and Total!

tem 4: tem 5: $99.81 $5.31 subtotal: $572.42 $47.2246 Cotal: $619.645 488.1697186 LAB ACTIVITY 2.8.1: Lab 08: Total Purchase 1 // Ryan Dewey 2 // CS 1336. DM1 3 // Lab 08 4 5 #include > item2; cin >> item3; cin >> item4; cin >> item5; 29 // Calculate the subtotal, taxes, and total. Subtotal = itemi + item2 + item + item4 + items; I // Output the item amounts, dashes, subtotal, taxes, and total as shown in the examples Tax = Subtotal * TAX RATE; Total = Subtotal + Tax; 30 31 32 33 34 35 36 37 38 39 40 41 42 cout

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

The Database Factory Active Database For Enterprise Computing

Authors: Schur, Stephen

1st Edition

0471558443, 9780471558446

More Books

Students also viewed these Databases questions

Question

What is job rotation ?

Answered: 1 week ago

Question

What lessons in intervention design, does this case represent?

Answered: 1 week ago