Mini Bank Account Management System: This system aimed to computerize the bank a
ID: 3853922 • Letter: M
Question
Mini Bank Account Management System: This system aimed to computerize the bank account management operations such as open an account, withdraw money, deposit money etc. Modules: There are three main parts of the system: 1) Person, Student and Teacher objects, where Person needs to be declared as an abstract base class and Student & Teacher should be declared as derived class. 2) Bank Account containing the account holder 3) Bank transactions such as open an account, withdraw and deposit money Main Menu: Main Manu consists of the following items: 1) Main Menu 2) Administrator Menu 3) Open Account 4) Close Account 5) Withdraw Money 6) Deposit Money 7) Display Account holder with maximum deposit 8) Exit If user choose the Administrator menu then system will display another submenu, which will show the following submenu options: 1) Create Student Record 2) Display All Student Records 3) Display All Students by Last Name 4) Display Specific Student Record 5) Modify Student Record 6) Delete Student Record 7) Create Teacher Record 8) Display All Teacher Records 9) Display Specific Teacher Record 10) Modify Teacher Record 11) Delete Teacher Record 12) Return to Main Menu Data storage: data can be stored in a text file. Therefore, you must use the file read and write operations for data retrieval and storage. For this system, three files required: Student.txt, Teacher.txt and Bank Account.txt.
It is C++ programming.
D x /e Chegg Study Guided sex lackboard.wayne.edu/bbcswebdav/pid-6257128-dt-content-rid-12737681 2/courses/CSC 2110 1706 0 × C++ Programming Fror pr midterm s15 ans-SSU "K C Chegg-Save up to 9 Term Project, Spring/Summer 2017 CSC 2110, Computer Science I Due 07/24/2017 and 07/26/2017 class time Mini Bank Account Management System: This system aimed to computerize the bank account management operations such as open an account, withdraw money, deposit money etc Modules: There are three main parts of the system: 1) Person, Student and Teacher objects, where Person needs to be declared as an abstract base class and Student & Teacher should be declared as derived class 2) Bank Account containing the account holder 3) Bank transactions such as open an account, withdraw and deposit money Main Menu: Main Manu consists of the following items 1) Main Menu 2) Administrator Menu 3) Open Account 4) Close Account 5) Withdraw Money 6) Deposit Money 7) Display Account holder with maximum deposit 8) Exit If user choose the Administrator menu then system will display another submenu. which will show the following submenu options 1) Create Student Record 2) Display All Student Records 3) Display All Students by Last Name 4) Display Specific Student Record 5) Modify Student Record 3) Delete Student RecordExplanation / Answer
#include <iostream>
using namespace std;
struct student
{
char name[100];
int roll;
float marks;
} s[15];
int main()
{
cout << "Enter information of students: " << endl;
for(int i = 0; i < 10; ++i)
{
s[i].roll = i+1;
cout << "For roll number" << s[i].roll << "," << endl;
cout << "Enter name: ";
cin >> s[i].name;
cout << "Enter marks: ";
cin >> s[i].marks;
cout << endl;
}
cout << "Displaying Information: " << endl;
for(int i = 0; i < 10; ++i)
{
cout << " Roll number: " << i+1 << endl;
cout << "Name: " << s[i].name << endl;
cout << "Marks: " << s[i].marks << endl;
}
return 0;
}