+ 1
Searching for a customer's bank account
The code below is a bank account. I need to make the last 2 functions search for the customer's name or account number between all customers info, so if they realize who is this customer, they can save or withdraw money. The mistake here is the last two functions can't make a for loop across the customers, so they can't realize their names or codes. If this works I will make the customer choose if they want to make the program search for their account by their name or their account number. Can anyone help me, please? UPDATE: I removed continue and break statements, and this is the new code: https://code.sololearn.com/c2dyN7NGuD3h/#cpp
3 Antworten
+ 2
Thank you very much, ~ swim ~ !
+ 1
I think there is no need of break and continue here not sure
+ 1
Saad Mughal I think it will keep showing the first 3 functions if I don't put break statement, right?