so i am supposed to write a flowchart for
(exact question)
draw a flowchart for a program that will compute and output the sales tax due with a tax rate of 7% and the total purchase price of 4 items. also perform a desk check with the following values 2.99, 3.99, 7.50 and 2.75.
i am supposed to use selection and repetition.
i am just stuck on if i
input price of item
then
running total = price of item + running total
then what do you put to make it go back and how do you write it so that the running total gets moved back up to the top.
(my brain hurts i just keep seeing it going into a loop. how do you make it stop, like only go for 4 items
(exact question)
draw a flowchart for a program that will compute and output the sales tax due with a tax rate of 7% and the total purchase price of 4 items. also perform a desk check with the following values 2.99, 3.99, 7.50 and 2.75.
i am supposed to use selection and repetition.
i am just stuck on if i
input price of item
then
running total = price of item + running total
then what do you put to make it go back and how do you write it so that the running total gets moved back up to the top.
(my brain hurts i just keep seeing it going into a loop. how do you make it stop, like only go for 4 items