Purchase Solution

C Programming Assistance

Not what you're looking for?

Ask Custom Question

Please help me with the following. I need to modify my existing code to meet the following criteria:
1) After the customer has entered the price per pound for each item (this step is already in the existing code):
A. Prompt the user to input the weight of each of the five products that they are purchasing. (need this step)
B. Compute and output (display) the total purchase amount as "Purchase Total:" (need this step)
2) If the total purchase exceeds $50, apply a 5% discount to the total and display the discount amount as "Discount Total:" (need this step)
3) Display the purchase total including the discount if applicable as "Total Amount Due:" (need this step)
4) Include comments in your program to document the program internally. (need this step)
5) Provide simple flowchart to outline the steps. (need this step)

Purchase this Solution

Solution Summary

C programming assistance is examined,

Purchase this Solution


Free BrainMass Quizzes
C# variables and classes

This quiz contains questions about C# classes and variables.

Word 2010: Table of Contents

Ever wondered where a Table of Contents in a Word document comes from? Maybe you need a refresher on the topic? This quiz will remind you of the keywords and options used when working with a T.O.C. in Word 2010.

Excel Introductory Quiz

This quiz tests your knowledge of basics of MS-Excel.

Word 2010: Tables

Have you never worked with Tables in Word 2010? Maybe it has been a while since you have used a Table in Word and you need to brush up on your skills. Several keywords and popular options are discussed as you go through this quiz.

Java loops

This quiz checks your knowledge of for and while loops in Java. For and while loops are essential building blocks for all Java programs. Having a solid understanding of these constructs is critical for success in programming Java.