how to write a program to stimulate a bank transaction. there are two bank accounts : checking and saving. first, askk for the initial balance of the bank accounts ; reject negative balance, then as for the transaction ; option are deposit, withdraw, and transfer. then ask for the account ; options are checking and saving. then ask for the amounts ; reject transaction that overdraw an accounts. at the end,print balances of both accounts. in c++ coding

Muh.

first, askk for the initial balance of the bank accounts

So what have you tried, and what isn't working as expected? If you haven't gotten to the point of coding yet, what part of the design is it you cannot develop?

reject negative balance

So what have you tried, and what isn't working as expected? If you haven't gotten to the point of coding yet, what part of the design is it you cannot develop?

 then as for the transaction ; option are deposit, withdraw, and transfer

So what have you tried, and what isn't working as expected? If you haven't gotten to the point of coding yet, what part of the design is it you cannot develop?

then ask for the account ; options are checking and saving

So what have you tried, and what isn't working as expected? If you haven't gotten to the point of coding yet, what part of the design is it you cannot develop?

 then ask for the amounts ; reject transaction that overdraw an accounts.

So what have you tried, and what isn't working as expected? If you haven't gotten to the point of coding yet, what part of the design is it you cannot develop?

 at the end,print balances of both accounts. 

So what have you tried, and what isn't working as expected? If you haven't gotten to the point of coding yet, what part of the design is it you cannot develop?

Daniweb member rules used to state this and it still applies: Do provide evidence of having done some work yourself if posting questions from school or work assignments.
Show us what you have done so far, and ask a specific question.
The requirements for this problem are quite easy due to the fact that it's about saving/updating/reading/writing.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.