Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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:-

image text in transcribed

QUESTION 3C :-

image text in transcribed

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

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

Database Design Application Development And Administration

Authors: Michael V. Mannino

3rd Edition

0071107010, 978-0071107013

More Books

Students also viewed these Databases questions

Question

What is the use of bootstrap program?

Answered: 1 week ago

Question

What is a process and process table?

Answered: 1 week ago

Question

What is Industrial Economics and Theory of Firm?

Answered: 1 week ago