assigsment-Write a program to simulate a bank transaction. Thereare two bank accounts: checking and savings. First, ask for theinitial balances of the bank accounts; reject negative balances.Then ask for the transactions; options are deposit, withdrawal, andtransfer. Then ask for the account; options are checking andsavings. Then ask for the amount; reject transactions that overdrawan account. At the end, print the balances of both accounts. inc++
work done- output and need help with the if statement forwithdraw,deposit,transfer