Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

a customer in a store is purchasing five items. design a program that asks for t

ID: 3645016 • Letter: A

Question

a customer in a store is purchasing five items. design a program that asks for the price of each item, and then displays the subtotal of the sale, the amount of sales tax, and the total. Assume the sales percent is 6%
How do i make this into a flow chart in RAPTOR? I have tried and I can't figure it out! any help would be greatly appreciated!!

Explanation / Answer

#include using namespace std; int main(void) { //declarations double item1 = 0; double item2 = 0; double item3 = 0; double item4 = 0; double item5 = 0; double subtotal = 0; double total = 0; double tax = 0; //Enter Items cout > item1; cout > item2; cout > item3; cout > item4; cout > item5; //Compute subtotal subtotal = (item1 + item2 + item3 + item4 + item5 + item6); //Compute amount of tax tax = subtotal * (.06); //Compute total total = subtotal + tax; //Display subtotal, total, and amount of tax cout < " The subtotal of the sale is: "
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote