Write a C++ program that will determine if a departmental store customer

Discussion in 'C++' started by imported_zeeshan, Aug 4, 2010.

  1. imported_zeeshan

    imported_zeeshan New Member

    Joined:
    Aug 4, 2010
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    Write a C++ program that will determine if a departmental store customer has exceeded the credit limit on a charge account.
    Program should input the following facts in five variables

    1. Account number
    2. Balance at the beginning of month (Beginning balance)
    3. total of all items charged by customer this month (charges)
    4. total of all credits (credits)
    5. allowed credit limit
    Calculate the new balance
    New balance = Beginning balance + charges – credits
    Determine if new balance exceeds the allowed credit limit. For those customers whose credit limit is exceeded. The program should display the message “Credit Limit exceeded.â€
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice