Professional Documents
Culture Documents
1. Write a C++ program to find the largest and smallest element of a 10 elements array.
Algorithm(25pts)
2. Create a class
4. Create methods/functions
6. Before creating your program, create a flowchart showing the logical process of your
program.
2. Create a C++ program on a simple banking system with class and data members like account
number, name, deposit, withdraw amount and type of account(saving/current. Customer data is
stored in a text file file. A customer can deposit and withdraw amount in his account. User can
create, modify and delete account.(50pts)
Algorithm
1. Use header file iostream and fstream. sstream is optional but you can use it if your
program needs the same.
2. Create a class
3. Declare the data members to be used in your program
4. Create the methods that will be used by your program. To store data, use text file
5. Deposit, withdraw, balance inquiry, close account and delete account will ask for the
account no. and display all the information of the account
6. Create your main function
7. This program is almost the same with the last sample I have given to, based your code
from there
Sample output
Instruction
Members
*(leader)
*
*
*
Date
4. Convert to PDF and the leader will upload the file in your LMS
5. For questions, PM is the key…Good luck and God bless