C language is used in this question.
XYZ Bank account numbers consist of a four-digit branch code representing the branch in which that account is opened, followed by a seven-digit number (e.g. 42760054418). Given the codes and the names of the 50 Ankara branches of XYZ Bank in the file "Branches.txt" and 200 account numbers and the money in each account in the file "Accounts.txt", separate the accounts opened in Etlik Branch and those opened in Cubuk Branch into two arrays. Then, merge the accounts opened in Etlik and Cubuk branches in ascending order of the money in those accounts and display the result.