to all

main nay is problem ko solve kar nay ki try ki hai but mujhay say nahi solve hoi agar koi ya problem solve kar day then i will be very thankful to him or her. problem is::


I want to write a C++ program that contains a structure named “Account” having four data members

1) Account number
2) Account holder name
3) Account type
4) Account Balance

Account type may be Saving, Current, etc.

In main function, declare an array of structure “Account” of size 10. Populate this array by taking data from user and store user account data into a structure.

The above account information for all users should also be stored in a text file that contains Account number, Account holder name, Account type and Account balance separated by comma (,).

When user enters all account information for all account holders then following menu should be displayed to the user:

• Enter 1 to search account information by Account number
• Enter 2 to search account information by Account holder name
• Enter 3 to search number of user having particular Account type
• Enter 4 to search number of user having Account balance greater than 10,000
• Enter 5 to quit from program

The program should repeat the above process from menu 1 to 4 until user enters 5



More Detailed for understand:


1. If user enters 1 then program should prompt the user to enter “Account number” to be searched. If the Account number found within array of structure then account information corresponding to the given account number should be displayed on the output screen otherwise it should display message: “Account information is not available”.

2. If user enters 2 then program should prompt the user to enter “Account Holder Name” to be searched. If the Account Holder name found within array of structure then account information corresponding to the given account holder name should be displayed on the output screen otherwise it should display message: “Account information is not available”.

3. If user enters 3 then program should prompt the user to enter “Account type” and then displays the number of users having particular account type. For example, if user enters Account type as “Saving” then it should display the number of user having account type saving otherwise it should display message: “No user has Account type Saving” and so on.

4. If user enters 4 then program should display the number of users having salary greater than 10,000 otherwise displays message: “No user has balance greater than 10,000”.

5. If user enters 5 then program should terminate.

please replay me as soon as possible

thanks