954,498 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

i need some help..please

(Business Accounting) CS Bank Limited updates its customers’ accounts at the end of each month. The bank offers two types of accounts: savings accounts (s) and checking accounts (c). Every customer must maintain a minimum balance. If a customer’s balance falls below the minimum balance, there is a service charge of RM10.00 for savings accounts and RM25.00 for checking accounts. The minimum balance for savings accounts and checking accounts is at least RM1000.00 and RM5000.00 respectively. If the balance at the end of the month is at least the minimum balance, the account receives interest as follows:
i. Savings accounts receive 4% dividend.
ii. Checking accounts with balances of up to RM5000 more than the minimum balance receive 3% dividend; otherwise the dividend receive is 5%.
Your program reads a customer’s account number (int), account type (char; s for savings, c for checking), and the current balance in the account (double or float). The program should then output the account number, account type, account name, account balance for the last month, amount of service charge (if any), amount of dividend received (if any), latest account balance, and an appropriate message.

imraannaimullah
Newbie Poster
1 post since Jul 2011
Reputation Points: 10
Solved Threads: 0
 

Sorry, we are not a homework service. You'll have to write it yourself.

WaltP
Posting Sage w/ dash of thyme
Moderator
10,506 posts since May 2006
Reputation Points: 3,348
Solved Threads: 944
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: