C++ algorithms and flow chart

Create an algorithm to compute the final price of an item given the original price and the quantity and assuming that the sales tax is 10%. Allow the user to repeat this calculation as much as he wants.
Create an algorithm that computes the quiz average for all students in a class. The input of the algorithm would be the size of the class and the grades of all quizzes. The output would be the average quiz grade for the entire class (hint: you need to use iteration)

Sample Solution