Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a C program for a shirt shop in Mumbai to store the customer information and the detail of shirt that is bought by the

Write a C program for a shirt shop in Mumbai to store the customer information and the detail of shirt that is bought by the customer. The system should also be able to calculate the selling price, the taxes of the shirt and profit of the sold shirt. There will be two types of shirts sold: import and local The import shirt will have a 10% import duty tax from the manufacturer price that needs to be paid to the Indian custom. There will be no import duty tax in the local shirt. The profit of import shirt will contribute 90% from the manufacturer price meanwhile for the local shirt the profit will be 75% of the manufacturer price. The selling price will be calculated by adding the profit + manufacturer price + import duty if applicable. all the sold shirts will have a GST which will be 6% be charged from the manufacturer price. The output of the function will be like this:

Customer name: Johnny Identification Card No. :123456899 Type of shirt (I for import, L for local) : L Manufacturer price ( in usd ) : 120.50

==== Details of account ==== Name: Johnny Identification Card No. :123456899 Selling price: USD218.11

Profit: USD90.38 Manufacturer price: USD120.50 Import duty price: USD0 Good and Service Tax: USD7.23

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 Concepts

Authors: David Kroenke, David J. Auer

3rd Edition

0131986252, 978-0131986251

More Books

Students also viewed these Databases questions