Ask Experts Questions for FREE Help !
Ask
    cyndi2all's Avatar
    cyndi2all Posts: 1, Reputation: 1
    New Member
     
    #1

    Aug 23, 2007, 04:51 PM
    C++ program needed
    I need help creating the following program in C++:


    Need a program to decide who is eligible for a credit card. I need to write a program to help decide who gets the credit cards. Use a function Get_Credit_Limit() to promt to ask for the customer's present credit limit. The function should return the credit limit. Use a function Get_Acc_Bal() to promt the user for the customers account balance. The function should return the accoutn balance.

    Use the function Determine_Action() whose arguments are the customer's credit limit and account balance. Determine_Action() should return 0, 1, or 2 according to the following.
    If a customer has a credit limit of at least $2000 and an account balance of $500 or less, the customer will receive a credit card. In this case the function should return a 2.

    If a customer has a credit limit of at least $2000 and an account balance of more than $500, the customer will receive a letter stating after the customers balance falls below $500 they will receive a credit card. In this case the function should return a 1.

    If a customer does not fall into either of these categories, no action will be taken. In this case, the function should return a 0.

    Use a function Display_Action() to display the action that will be taken for the customer. Pass to Display_Action() the value that Determine_Action() returned. Based on this value, Display_Action() should display a message that shows the action that should be taken: issue card, send a letter, or no action.
    moncoeurdor's Avatar
    moncoeurdor Posts: 4, Reputation: 1
    New Member
     
    #2

    Sep 21, 2007, 11:56 PM
    This sounds like a class room assignment.

    Take advice from someone who knows. I went to a vocational high school and majored in interior house wiring. When the class went out to do electrical work, I hung around and watched others work. After graduating I was unable to hold on to a job. So I went to college and corrected my errors. Don't waste your years in school by having others do your homework for you.

    If you are a Computer Science student, you must learn to design and debug software. Without those skills, you will not hold on to any job.

    If you submit source code and ask specific questions, more people will respond to your messages.

Not your question? Ask your question View similar questions

 

Question Tools Search this Question
Search this Question:

Advanced Search

Add your answer here.


Check out some similar questions!

All program [ 2 Answers ]

Once my xp home edition 'all programs' appeared on the whole screen, now it is appeared in one row. How I can changed it back to the original appearance.

Spyware program [ 4 Answers ]

What is the best spyware programme to use. Is xoftspy a good programme? And what is the best anti-virus programme in use. Which one is better Norton anti-virus 2006 or AVG.

Music Program [ 1 Answers ]

Has anyone picked up the program titled "Music Maker 10 Deluxe?" I am looking into getting this for myself and wanted to know if it is worth my money? If you bought the program and like it, get back to me, if you didn't think it was all-that, get back to me. ...

Program [ 2 Answers ]

Hi, I need it a program, about internal audit and risk management Thanks for help.


View more questions Search