Design a program and write program that will read a file of sales records and produce a sales report. Each record in the file contains a customer's number and name, a sales amount and a tax code. The tax code is to be applied to the sales amount to determine the sales tax due for that sale, as follows:
Tax code Sales tax
0 Tax exempt
1 3%
2 5%
The report is to print a heading 'SALES REPORT', and detail lines listing the customer number, name, sales amount, sales tax and the total amount owing.
Task need to do:
Total amount to match the tax using own creativity and logic.
1. Design algorithm [Note: Pseudocode and Flowchart]
2. Write program and use control structures required
• A DOWHILE loop to control the repetition
• A case structure to calculate the sales tax
Assume that the tax code field has been validated and will only contain a value of 0, 1, or 2.
1
Expert's answer
2015-08-05T08:16:38-0400
Dear abbirami, your question requires a lot of work, which neither of our experts is ready to perform for free. We advise you to convert it to a fully qualified order and we will try to help you. Please click the link below to proceed: https://www.assignmentexpert.com/submit#question_conversion_44658
Dear Palak Questions in this section are answered for free. We can't
fulfill them all and there is no guarantee of answering certain
question but we are doing our best. And if answer is published
it means it was attentively checked by experts. You can try it
yourself by publishing your question. Although if you have serious
assignment that requires large amount of work and hence cannot be
done for free you can submit it as assignment and our experts will
surely assist you
Assignment Expert
05.08.15, 15:18
Dear Palak Questions in this section are answered for free. We can't
fulfill them all and there is no guarantee of answering certain
question but we are doing our best. And if answer is published
it means it was attentively checked by experts. You can try it
yourself by publishing your question. Although if you have serious
assignment that requires large amount of work and hence cannot be
done for free you can submit it as assignment and our experts will
surely assist you
Assignment Expert
05.08.15, 15:16
Dear abbirami Questions in this section are answered for free. We
can't fulfill them all and there is no guarantee of answering
certain question but we are doing our best. And if answer is
published it means it was attentively checked by experts. You can try
it yourself by publishing your question. Although if you have
serious assignment that requires large amount of work and hence
cannot be done for free you can submit it as assignment and our
experts will surely assist you
Leave a comment
Thank you! Your comments have been successfully added. However, they need to be checked by the moderator before being published.
Comments
Dear Palak Questions in this section are answered for free. We can't fulfill them all and there is no guarantee of answering certain question but we are doing our best. And if answer is published it means it was attentively checked by experts. You can try it yourself by publishing your question. Although if you have serious assignment that requires large amount of work and hence cannot be done for free you can submit it as assignment and our experts will surely assist you
Dear Palak Questions in this section are answered for free. We can't fulfill them all and there is no guarantee of answering certain question but we are doing our best. And if answer is published it means it was attentively checked by experts. You can try it yourself by publishing your question. Although if you have serious assignment that requires large amount of work and hence cannot be done for free you can submit it as assignment and our experts will surely assist you
Dear abbirami Questions in this section are answered for free. We can't fulfill them all and there is no guarantee of answering certain question but we are doing our best. And if answer is published it means it was attentively checked by experts. You can try it yourself by publishing your question. Although if you have serious assignment that requires large amount of work and hence cannot be done for free you can submit it as assignment and our experts will surely assist you
Leave a comment