Question: QUESTION 2 C :- QUESTION 3C :- c) A retail shop makes its profit by marking up the cost price of the products in the
QUESTION 2 C:-

QUESTION 3C :-

c) A retail shop makes its profit by marking up the cost price of the products in the shop. You are assigned to design a program that displays the selling price of the products in the shop. The cost price, product's code (in integer), mark up percentage and the tax rate are entered by the user. If the product's code is an odd number a discount of 10% is given to the product, otherwise if it is even, a discount of 15% is given. Your program should calculate and display the selling price of each product in the shop. The shop has 100 products. Draw a flowchart to design the program for the given problem. (8 marks) c) The following variables are declared as follows: int a=10,b=5,c=2; float x=2.5,y=3.6; char ch 1=t ', ch2 's'; Give the output for the following C++ statements: i) cout(b+a+y))((c+x)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
