Explore BrainMass

Explore BrainMass

    C Programming Assistance

    Not what you're looking for? Search our solutions OR ask your own Custom question.

    This content was COPIED from BrainMass.com - View the original, and get the already-completed solution here!

    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)

    © BrainMass Inc. brainmass.com March 4, 2021, 7:19 pm ad1c9bdddf
    https://brainmass.com/computer-science/c/programming-assistance-94141

    Attachments

    Solution Summary

    C programming assistance is examined,

    $2.49

    ADVERTISEMENT