This document contains the source code for a C++ bank management system project. It includes class definitions and functions for creating, modifying, deleting, and viewing customer bank accounts that are stored in a binary file. The main function provides a menu for performing operations like depositing, withdrawing, viewing balances and account details, and listing all accounts. Header files are included for input/output streams, character handling and file manipulation.
Library Management Project (computer science) class 12RithuJ
This project descibes the Library management system.This includes the code, its output and the applications. This software has main menu, admin menu that has provision to create student & book record, display student & book record, modify student & book record, delete student & book record .
Rithu
AECS Kudankulam
Library Management Project (computer science) class 12RithuJ
This project descibes the Library management system.This includes the code, its output and the applications. This software has main menu, admin menu that has provision to create student & book record, display student & book record, modify student & book record, delete student & book record .
Rithu
AECS Kudankulam
Computer Science Investigatory Project Class XII CBSE(Latest Syllabus)(Python...ArkaSarkar23
This is a final project based on Programming Language Python.
It contains the whole computer science project for the exam AISSCE. It contains the code for Result analysis (GUI based) software. It contains modules like tkinter, os, openpyxl,numpy etc. This program will help to generate the analyzed redult for any class.
class 12th computer science project Employee Management System In PythonAbhishekKumarMorla
This is the employment management system designed in python without using any interface through sql it does not have sequence structured query or sql connectivity but perhaps it has file handling concept.
How To Use It:
just replace the txt file and location on the code
also always use the id of employment as shown below:
01
because in the code it search for the index 0,1 therefore it have only two digits employee names
you can make it to 3 or 4 just by replacing the code
we have already mentioned in the code part..
Computer science class 12 project on Super Market BillingHarsh Kumar
Certificate
--Declaration
--Acknowledgement
--Hardware and software requirements
--Classes and function used
--Header files used
--Files generated
--Working description
--Coding
--Output screen
--Bibliography
Download link ( copy link to download )
https://drive.google.com/file/d/1TOz6arCdt4Nhfm_2emBzQCmgGSTCVQHy/view?usp=sharing
to add this to net beans just do this
1) open netbeans
2) on the top left, click file.
3) then click import project, there select from zip
4) use my file which u downloaded
5) import and thats it
Enjoy Using my Project as a reference for your own Project.
I hope that this will help you to understand what to do in your own project.
Happy Coding Nerds!!
git hub link to download it to ur system
https://github.com/Yosh1kageK1ra/12th-Class-Project-CBSE.git
TOPIC:-
SCIENTIFIC CALCULATOR
PURPOSE:-
To create scientific calculator class to perform the task related to scientific calculations. Which include finding square or cube etc.
The scientific calculator perform following task:-
1. Determine the square of the number.
2. Determine the square root of the number
3. Determine the first number power of the second number
4. Determine the factorial of a number
5. Determine the sin, cos and tan value of the number.
6. Determine the logarithm, natural logarithm and exponential of the number.
Computer Investgatort Project (HOTEL MANAGEMENT SYSTEM),CBSE Class 12 computer project,Class XII computer project, A project work on Hotel management system in C++,Class 12 C++ Projects, Projects in C++ for Class XII CBSE, C++ Class XII project
Python Project book shop system.This project BOOKSHOP SYSTEM includes some facilities for the retail book shop to maintain records of the books and also search, display, modification, delete etc the books available. This software searches the books data which is store in the record.
Class 12th computer science C++ coding for Banking System program.
Features in Program:
1. New Account
2. Deposit Amount
3. Withdraw Amount
4. All Account Holder List
5. Delete Account
6. Edit Account
7. Exit
project of c++ of student report card managment (This is an automated software system written in C++ programming language for Student Performance management system which is used to store records various information about the students and books details.)(thanks)
Computer Science Investigatory Project Class XII CBSE(Latest Syllabus)(Python...ArkaSarkar23
This is a final project based on Programming Language Python.
It contains the whole computer science project for the exam AISSCE. It contains the code for Result analysis (GUI based) software. It contains modules like tkinter, os, openpyxl,numpy etc. This program will help to generate the analyzed redult for any class.
class 12th computer science project Employee Management System In PythonAbhishekKumarMorla
This is the employment management system designed in python without using any interface through sql it does not have sequence structured query or sql connectivity but perhaps it has file handling concept.
How To Use It:
just replace the txt file and location on the code
also always use the id of employment as shown below:
01
because in the code it search for the index 0,1 therefore it have only two digits employee names
you can make it to 3 or 4 just by replacing the code
we have already mentioned in the code part..
Computer science class 12 project on Super Market BillingHarsh Kumar
Certificate
--Declaration
--Acknowledgement
--Hardware and software requirements
--Classes and function used
--Header files used
--Files generated
--Working description
--Coding
--Output screen
--Bibliography
Download link ( copy link to download )
https://drive.google.com/file/d/1TOz6arCdt4Nhfm_2emBzQCmgGSTCVQHy/view?usp=sharing
to add this to net beans just do this
1) open netbeans
2) on the top left, click file.
3) then click import project, there select from zip
4) use my file which u downloaded
5) import and thats it
Enjoy Using my Project as a reference for your own Project.
I hope that this will help you to understand what to do in your own project.
Happy Coding Nerds!!
git hub link to download it to ur system
https://github.com/Yosh1kageK1ra/12th-Class-Project-CBSE.git
TOPIC:-
SCIENTIFIC CALCULATOR
PURPOSE:-
To create scientific calculator class to perform the task related to scientific calculations. Which include finding square or cube etc.
The scientific calculator perform following task:-
1. Determine the square of the number.
2. Determine the square root of the number
3. Determine the first number power of the second number
4. Determine the factorial of a number
5. Determine the sin, cos and tan value of the number.
6. Determine the logarithm, natural logarithm and exponential of the number.
Computer Investgatort Project (HOTEL MANAGEMENT SYSTEM),CBSE Class 12 computer project,Class XII computer project, A project work on Hotel management system in C++,Class 12 C++ Projects, Projects in C++ for Class XII CBSE, C++ Class XII project
Python Project book shop system.This project BOOKSHOP SYSTEM includes some facilities for the retail book shop to maintain records of the books and also search, display, modification, delete etc the books available. This software searches the books data which is store in the record.
Class 12th computer science C++ coding for Banking System program.
Features in Program:
1. New Account
2. Deposit Amount
3. Withdraw Amount
4. All Account Holder List
5. Delete Account
6. Edit Account
7. Exit
project of c++ of student report card managment (This is an automated software system written in C++ programming language for Student Performance management system which is used to store records various information about the students and books details.)(thanks)
This project has been made by an individual along with the C++ coding and output and has not been copied in any form. Hope it will help you. This is a simple school project belongs to KV No. 1 Harni Road Vadodara. Certficate is also Provided.
The bank management system is an application for maintaining a person’s account in a bank. The system provides the access to the customer to create an account, deposit/withdraw the cash from his account, also to view reports of all accounts present
Banks offer various types of accounts, such as savings, checking, cer.pdfakbsingh1313
Banks offer various types of accounts, such as savings, checking, certificate of deposits, and
money market, to attract customers as well as meet their specific needs. Two of the most
commonly used accounts are savings and checking. Each of these accounts has various options.
For example, you may have a savings account that requires no minimum balance but has a lower
interest rate. Similarly, you may have a checking account that limits the number of checks you
may write. Another type of account that is used to save money for the long term is certificate of
deposit (CD). In this programming exercise, you use abstract classes and pure virtual functions to
design classes to manipulate various types of accounts. For simplicity, assume that the bank
offers three types of accounts: savings, checking, and certificate of deposit, as described next.
Savings accounts: Suppose that the bank offers two types of savings accounts: one that has no
minimum balance and a lower interest rate and another that requires a minimum balance and has
a higher interest rate. Checking accounts: Suppose that the bank offers three types of checking
accounts: one with a monthly service charge, limited check writing, no minimum balance, and no
interest; another with no monthly service charge, a minimum balance requirement, unlimited
check writing and lower interest; and a third with no monthly service charge, a higher minimum
requirement, a higher interest rate, and unlimited check writing. Certificate of deposit (CD): In
an account of this type, money is left for some time, and these accounts draw higher interest rates
than savings or checking accounts. Suppose that you purchase a CD for six months. Then we say
that the CD will mature in six months. The penalty for early withdrawal is stiff. bankAccount:
Every bank account has an account number, the name of the owner, and a balance. Therefore,
instance variables such as name, accountNumber, and balance should be declared in the abstract
class bankAccount. Some operations common to all types of accounts are retrieve account
owner\'s name, account number, and account balance; make deposits; withdraw money; and
create monthly statements. So include functions to implement these operations. Some of these
functions will be pure virtual. checkingAccount: A checking account is a bank account
Therefore, it inherits all the properties of a bank account. Because one of the objectives of a
checking account is to be able to write checks, include the pure virtual function writeCheck to
write a check. serviceChargeChecking: A service charge checking account is a checking account.
Therefore, it inherits all the properties of a checking account. For simplicity, assume that this
type of account does not pay any interest, allows the account holder to write a limited number of
checks each month, and does not require any minimum balance. Include appropriate named
constants, instance variables, and functions in this class. noServiceChargeChecki.
Banks offer various types of accounts, such as savings, checking, cer.pdfrajeshjain2109
Banks offer various types of accounts, such as savings, checking, certificate of deposits, and
money market, to attract customers as well as meet their specific needs. Two of the most
commonly used accounts are savings and checking. Each of these accounts has various options.
For example, you may have a savings account that requires no minimum balance but has a lower
interest rate. Similarly, you may have a checking account that limits the number of checks you
may write. Another type of account that is used to save money for the long term is certificate of
deposit (CD). In this programming exercise, you use abstract classes and pure virtual functions to
design classes to manipulate various types of accounts. For simplicity assume that the bank
offers three types of accounts: savings, checking, and certificate of deposit, as described next.
Savings accounts: Suppose that the bank offers two types of savings accounts: one that has no
minimum balance and a lower interest rate and another that requires a minimum balance and has
a higher interest rate Checking accounts: Suppose that the bank offers three types of checking
accounts: one with a monthly service charge, limited check writing, no minimum balance, and no
interest, another with no monthly service charge, a minimum balance requirement, unlimited
check writing and lower interest, and a third with no monthly service charge, a higher minimum
requirement, a higher interest rate, and unlimited check writing Certificate of deposit (CD): In an
account of this type, money is left for some time, and these accounts draw higher interest rates
than savings or checking accounts. Suppose that you purchase a CD for six months. Then we say
that the CD will mature in six months. The penalty
Solution
#include
#include
using namespace std;
class bankAccount
{
private:
string accHolderName;
string accountType;
int accountNumber;
double accBalance;
public:
bankAccount(string fullName = \"\", string accType = \"\", int accNum = 0, double balance =
0.0);
string getAccHolderName() const;
string getAccountType() const;
int getAccountNumber() const;
double getAccBalance() const;
void deposit(double amount);
void withdrawl(double amount);
virtual void print() const = 0;
};
/*contructor*/
bankAccount::bankAccount(string fullName, string accType, int accNum, double balance) {
accHolderName = fullName;
accountType = accType;
accountNumber = accNum;
accBalance = balance;
}
string bankAccount::getAccHolderName() const{
return accHolderName;
}
string bankAccount::getAccountType() const{
return accountType;
}
int bankAccount::getAccountNumber() const{
return accountNumber;
}
double bankAccount::getAccBalance() const{
return accBalance;
}
void bankAccount::deposit(double amount) {
accBalance += amount;
}
void bankAccount::withdrawl(double amount) {
if (amount > accBalance) {
cout << \"Insufficent Funds. Account balance: \" << accBalance << endl;
} else {
accBalance -= amount;
}
}
class checkingAccount: public bankAccount
{.
Pratik Bakane C++ programs...............This are programs desingedby sy diploma student from Governement Polytecnic Thane.....programsare very easy alongwith coding andscreen shot of the output
I need help creating a basic and simple Java program. Here is the ex.pdfrajeshjangid1865
I need help creating a basic and simple Java program. Here is the exercise. I have included my
Account class that is referred to at the bottom, below the exercise.
Use the Account class created in Programming Exercise 9.7 to simulate an ATM machine.
Create ten accounts in an array with id 0, 1, . . . , 9, and initial balance $100. The system prompts
the user to enter an id. If the id is entered incorrectly, ask the user to enter a correct id. Once an
id is accepted, the main menu is displayed as shown in the sample run. You can enter a choice 1
for viewing the current balance, 2 for withdrawing money, 3 for depositing money, and 4 for
exiting the main menu. Once you exit, the system will prompt for an id again. Thus, once the
system starts, it will not stop. You will need to cntrl-c to stop your program; this is ok for this
assignment. If you want your program to terminate more elegantly you can add in additional
logic, but this is not required.
Please refer to textbook for sample output pg. 401.
Account.java
import java.util.Date;
public class Account {
private int id;
private double balance;
static private double annualInterestRate = 0;
private Date dateCreated;
public Account() {
dateCreated = new Date();
}
public Account(int id, double balance) {
this.id = id;
this.balance = balance;
dateCreated = new Date();
}
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public double getBalance() {
return balance;
}
public void setBalance(double balance) {
this.balance = balance;
}
public static double getAnnualInterestRate() {
return annualInterestRate;
}
public static void setAnnualInterestRate(double annualInterestRate) {
Account.annualInterestRate = annualInterestRate;
}
public Date getDateCreated() {
return dateCreated;
}
public double getMonthlyInterestRate() {
double monthlyInterestRate = getAnnualInterestRate() / 1200;
return monthlyInterestRate;
}
public double getMonthlyInterest() {
double monthlyInterest= getBalance() * getMonthlyInterestRate();
return monthlyInterest;
}
public void withdraw(double amount) {
balance = getBalance() - amount;
}
public void deposit(double amount) {
balance = getBalance() + amount;
}
}
Solution
//This is your Account Class
package com.ATMBanking;
import java.util.Date;
public class Account {
private int id;
private double balance;
static private double annualInterestRate = 0;
private Date dateCreated;
public Account() {
dateCreated = new Date();
}
public Account(int id, double balance) {
this.id = id;
this.balance = balance;
dateCreated = new Date();
}
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public double getBalance() {
return balance;
}
public void setBalance(double balance) {
this.balance = balance;
}
public static double getAnnualInterestRate() {
return annualInterestRate;
}
public static void setAnnualInterestRate(double annualInterestRate) {
Account.annualInterestRate = annualInterestRate;
}
public Date getDateCreated() {
return dateCreat.
/***********************************************************
Program Name: Simple Math Calculator
Program Author: Kyle NoCompile
Date Created: 9/28/14
Program Description:
This program performs simple arithmetic calculations.
The user enters numbers and the math operation to
perform on those numbers. The program will then display
the result of the operation. The program allows the
user to continue entering a math operation and an
integer to calculate off of the previous calculation
result.
Modified Date:
Modified Description:
***********************************************************/
#include <iostream>
using namespace std;
// Function prototypes:
void showWelcome(void);
int getUserIntegerInput();
char getMathChoice()
int getInteger(bool);
bool validateMathChoice(char choice)
int doAddition(int int1, int int2);
int doSubtraction(int, int);
int doMath(int firstInt, int secondInt, char mathFunc);
void showResult(int)
float keepCalculating();
// This is the main function (where the program begins)
int main(void)
{
// Variables to hold local data
int runningTotal; nextValue;
int mathChoice();
bool keepGoing;
// Call the showWelcome() function
showWelcome(void);
// Call the getInteger() function (for the first integer)
// and store the result in the "runningTotal" variable
runningTotal = GetInteger(true);
// Loop after each calculation to see if the user wants to keep going
do
{
// Call the getMathChoice() function and store result in "mathChoice" variable
mathChoice = getMathChoice(42);
// Call validateMathChoice() function, passing it the user's math choice
// and using the return value to decide what to do next
if (validateMathChoice())
{
// Call the getInteger() function (for the second and subsequent integers)
// and store the result in the "nextValue" variable
nextValue = getInteger(false);
// Call the doMath() function and pass it all of the user input
// and store the return value in the "runningTotal" variable (overwrite
// previous "runningTotal" variable value. This will allow for us to
// update the running total of all calculations up to this point.
runningTotal = doMath(runningTotal nextValue mathChoice);
// Call the showResult() function to show the result
showResult(runningTotal);
}
else
{
// If the user chose an invalid math function...
cout<<Not a valid math choice. Try again<<endl;
}
}
// Call the keepCalculating() function and use the return value
// to decide whether to continue looping
while (keepCalculating);
return 0;
}
// This function shows a nice welcome message
void showWelcome()
{
cout<<"******************************************"<<endl;
cout<<"Welcome to the simple calculator program!"<<endl;
cout<<"This program will do simple addition and"<<endl
cout<<"subtraction. Math is fun, so enjoy!"<<endl;
cout<<"**.
Similar to Cbse class-xii-computer-science-project (20)
Professional air quality monitoring systems provide immediate, on-site data for analysis, compliance, and decision-making.
Monitor common gases, weather parameters, particulates.
Richard's aventures in two entangled wonderlandsRichard Gill
Since the loophole-free Bell experiments of 2020 and the Nobel prizes in physics of 2022, critics of Bell's work have retreated to the fortress of super-determinism. Now, super-determinism is a derogatory word - it just means "determinism". Palmer, Hance and Hossenfelder argue that quantum mechanics and determinism are not incompatible, using a sophisticated mathematical construction based on a subtle thinning of allowed states and measurements in quantum mechanics, such that what is left appears to make Bell's argument fail, without altering the empirical predictions of quantum mechanics. I think however that it is a smoke screen, and the slogan "lost in math" comes to my mind. I will discuss some other recent disproofs of Bell's theorem using the language of causality based on causal graphs. Causal thinking is also central to law and justice. I will mention surprising connections to my work on serial killer nurse cases, in particular the Dutch case of Lucia de Berk and the current UK case of Lucy Letby.
Multi-source connectivity as the driver of solar wind variability in the heli...Sérgio Sacani
The ambient solar wind that flls the heliosphere originates from multiple
sources in the solar corona and is highly structured. It is often described
as high-speed, relatively homogeneous, plasma streams from coronal
holes and slow-speed, highly variable, streams whose source regions are
under debate. A key goal of ESA/NASA’s Solar Orbiter mission is to identify
solar wind sources and understand what drives the complexity seen in the
heliosphere. By combining magnetic feld modelling and spectroscopic
techniques with high-resolution observations and measurements, we show
that the solar wind variability detected in situ by Solar Orbiter in March
2022 is driven by spatio-temporal changes in the magnetic connectivity to
multiple sources in the solar atmosphere. The magnetic feld footpoints
connected to the spacecraft moved from the boundaries of a coronal hole
to one active region (12961) and then across to another region (12957). This
is refected in the in situ measurements, which show the transition from fast
to highly Alfvénic then to slow solar wind that is disrupted by the arrival of
a coronal mass ejection. Our results describe solar wind variability at 0.5 au
but are applicable to near-Earth observatories.
The increased availability of biomedical data, particularly in the public domain, offers the opportunity to better understand human health and to develop effective therapeutics for a wide range of unmet medical needs. However, data scientists remain stymied by the fact that data remain hard to find and to productively reuse because data and their metadata i) are wholly inaccessible, ii) are in non-standard or incompatible representations, iii) do not conform to community standards, and iv) have unclear or highly restricted terms and conditions that preclude legitimate reuse. These limitations require a rethink on data can be made machine and AI-ready - the key motivation behind the FAIR Guiding Principles. Concurrently, while recent efforts have explored the use of deep learning to fuse disparate data into predictive models for a wide range of biomedical applications, these models often fail even when the correct answer is already known, and fail to explain individual predictions in terms that data scientists can appreciate. These limitations suggest that new methods to produce practical artificial intelligence are still needed.
In this talk, I will discuss our work in (1) building an integrative knowledge infrastructure to prepare FAIR and "AI-ready" data and services along with (2) neurosymbolic AI methods to improve the quality of predictions and to generate plausible explanations. Attention is given to standards, platforms, and methods to wrangle knowledge into simple, but effective semantic and latent representations, and to make these available into standards-compliant and discoverable interfaces that can be used in model building, validation, and explanation. Our work, and those of others in the field, creates a baseline for building trustworthy and easy to deploy AI models in biomedicine.
Bio
Dr. Michel Dumontier is the Distinguished Professor of Data Science at Maastricht University, founder and executive director of the Institute of Data Science, and co-founder of the FAIR (Findable, Accessible, Interoperable and Reusable) data principles. His research explores socio-technological approaches for responsible discovery science, which includes collaborative multi-modal knowledge graphs, privacy-preserving distributed data mining, and AI methods for drug discovery and personalized medicine. His work is supported through the Dutch National Research Agenda, the Netherlands Organisation for Scientific Research, Horizon Europe, the European Open Science Cloud, the US National Institutes of Health, and a Marie-Curie Innovative Training Network. He is the editor-in-chief for the journal Data Science and is internationally recognized for his contributions in bioinformatics, biomedical informatics, and semantic technologies including ontologies and linked data.
Richard's entangled aventures in wonderlandRichard Gill
Since the loophole-free Bell experiments of 2020 and the Nobel prizes in physics of 2022, critics of Bell's work have retreated to the fortress of super-determinism. Now, super-determinism is a derogatory word - it just means "determinism". Palmer, Hance and Hossenfelder argue that quantum mechanics and determinism are not incompatible, using a sophisticated mathematical construction based on a subtle thinning of allowed states and measurements in quantum mechanics, such that what is left appears to make Bell's argument fail, without altering the empirical predictions of quantum mechanics. I think however that it is a smoke screen, and the slogan "lost in math" comes to my mind. I will discuss some other recent disproofs of Bell's theorem using the language of causality based on causal graphs. Causal thinking is also central to law and justice. I will mention surprising connections to my work on serial killer nurse cases, in particular the Dutch case of Lucia de Berk and the current UK case of Lucy Letby.
A brief information about the SCOP protein database used in bioinformatics.
The Structural Classification of Proteins (SCOP) database is a comprehensive and authoritative resource for the structural and evolutionary relationships of proteins. It provides a detailed and curated classification of protein structures, grouping them into families, superfamilies, and folds based on their structural and sequence similarities.
Earliest Galaxies in the JADES Origins Field: Luminosity Function and Cosmic ...Sérgio Sacani
We characterize the earliest galaxy population in the JADES Origins Field (JOF), the deepest
imaging field observed with JWST. We make use of the ancillary Hubble optical images (5 filters
spanning 0.4−0.9µm) and novel JWST images with 14 filters spanning 0.8−5µm, including 7 mediumband filters, and reaching total exposure times of up to 46 hours per filter. We combine all our data
at > 2.3µm to construct an ultradeep image, reaching as deep as ≈ 31.4 AB mag in the stack and
30.3-31.0 AB mag (5σ, r = 0.1” circular aperture) in individual filters. We measure photometric
redshifts and use robust selection criteria to identify a sample of eight galaxy candidates at redshifts
z = 11.5 − 15. These objects show compact half-light radii of R1/2 ∼ 50 − 200pc, stellar masses of
M⋆ ∼ 107−108M⊙, and star-formation rates of SFR ∼ 0.1−1 M⊙ yr−1
. Our search finds no candidates
at 15 < z < 20, placing upper limits at these redshifts. We develop a forward modeling approach to
infer the properties of the evolving luminosity function without binning in redshift or luminosity that
marginalizes over the photometric redshift uncertainty of our candidate galaxies and incorporates the
impact of non-detections. We find a z = 12 luminosity function in good agreement with prior results,
and that the luminosity function normalization and UV luminosity density decline by a factor of ∼ 2.5
from z = 12 to z = 14. We discuss the possible implications of our results in the context of theoretical
models for evolution of the dark matter halo mass function.
Observation of Io’s Resurfacing via Plume Deposition Using Ground-based Adapt...Sérgio Sacani
Since volcanic activity was first discovered on Io from Voyager images in 1979, changes
on Io’s surface have been monitored from both spacecraft and ground-based telescopes.
Here, we present the highest spatial resolution images of Io ever obtained from a groundbased telescope. These images, acquired by the SHARK-VIS instrument on the Large
Binocular Telescope, show evidence of a major resurfacing event on Io’s trailing hemisphere. When compared to the most recent spacecraft images, the SHARK-VIS images
show that a plume deposit from a powerful eruption at Pillan Patera has covered part
of the long-lived Pele plume deposit. Although this type of resurfacing event may be common on Io, few have been detected due to the rarity of spacecraft visits and the previously low spatial resolution available from Earth-based telescopes. The SHARK-VIS instrument ushers in a new era of high resolution imaging of Io’s surface using adaptive
optics at visible wavelengths.
1. COMPUTER SCIENCE
PROJECT FILE
ON
BANK MANAGEMENT
PROJECT PREPARED BY:
ANIKET KUMAR SHARMA
&
MAYANK PANDAY
CLASS XII
Session: 2015-2016
Kendriya Vidhalaya No.3 School
3. Acknowledge
ment
I would like to express
our special thanks of
gratitude to my teacher
Mrs. Preeti sarkar as well
as our principal Mr.
Sadnjay sharma who gave
3 | P a g e
4. me the golden opportunity
to do this wonderful
project on the topic bank
managemaent which also
helped me in doing a lot of
research and i came to
know about so many new
things i am really thankfull
to them.
Secondly i would also
like to thank our parent
and friends who helped
me a lot in finalizing this
project within the limited
time frame.
Certificat
e
4 | P a g e
5. This is to certify that Aniket
Kumar Sharma & Mayank Panday
of class XII, Kendriya Vidhalaya
No.3 School, Delhi has successfully
completed his project in computer
science practicals as prescribed by
CBSE in the year 2015-2016.
Date :
Registration No. : ANIKET
KUMAR SHARMA
MAYANK
PANDAY
Signature of Internal Signature
of External
Examiner Examiner
__________________
__________________
5 | P a g e
6. HEADER FILES
USED AND THEIR
PURPOSE
1. FSTREAM.H – for file handling,
cin and cout
2. CONIO.H – for clrscr() and
getch() functions
3. CTYPE.H – for character
handling
4. IOSTREAM .H– for input / output
5. IOMANIP.H- for I/O manipulation
6 | P a g e
9. //***********************************************
****************
// HEADER FILE USED IN PROJECT
//*******************************************
********************
#include<fstream.h>
#include<ctype.h>
#include<iomanip.h>
#include<conio.h>
#include<iostream.h>
//*********************************************
******************
// CLASS USED IN PROJECT
9 | P a g e
10. //*********************************************
****************
class account
{
int acno;
char name[50];
int deposit;
char type;
public:
void create_account(); //function to get
data from user
void show_account(); //function to show
data on screen
void modify(); //function to get new data
from user
void dep(int); //function to accept
amount and add to balance amount
void draw(int); //function to accept
amount and subtract from balance amount
10 | P a g e
11. void report(); //function to show data in
tabular format
int retacno(); //function to return
account number
int retdeposit(); //function to return
balance amount
char rettype(); //function to return type
of account
}; //class ends here
void account::create_account()
{
cout<<"nEnter The account No. :";
cin>>acno;
cout<<"nnEnter The Name of The account
Holder : ";
gets(name);
cout<<"nEnter Type of The account (C/S) : ";
cin>>type;
type=toupper(type);
11 | P a g e
12. cout<<"nEnter The Initial amount(>=500
for Saving and >=1000 for current ) : ";
cin>>deposit;
cout<<"nnnAccount Created..";
}
void account::show_account()
{
cout<<"nAccount No. : "<<acno;
cout<<"nAccount Holder Name : ";
cout<<name;
cout<<"nType of Account : "<<type;
cout<<"nBalance amount : "<<deposit;
}
void account::modify()
{
cout<<"nThe account No."<<acno;
12 | P a g e
13. cout<<"nnEnter The Name of The account
Holder : ";
gets(name);
cout<<"nEnter Type of The account (C/S) : ";
cin>>type;
type=toupper(type);
cout<<"nEnter The amount : ";
cin>>deposit;
}
void account::dep(int x)
{
deposit+=x;
}
void account::draw(int x)
{
13 | P a g e
15. char account::rettype()
{
return type;
}
//*********************************************
******************
// function declaration
//*********************************************
*******************
void write_account(); //function to write
record in binary file
void display_sp(int); //function to display
account details given by user
void modify_account(int);//function to modify
record of file
void delete_account(int); //function to delete
record of file
15 | P a g e
16. void display_all(); //function to display
all account details
void deposit_withdraw(int, int); // function to
desposit/withdraw amount for given account
void intro(); //introductory screen function
//*********************************************
******************
// THE MAIN FUNCTION OF PROGRAM
//*********************************************
*******************
int main()
{
char ch;
int num;
clrscr();
intro();
do
{
16 | P a g e
17. clrscr();
cout<<"nnntMAIN MENU";
cout<<"nnt01. NEW ACCOUNT";
cout<<"nnt02. DEPOSIT AMOUNT";
cout<<"nnt03. WITHDRAW
AMOUNT";
cout<<"nnt04. BALANCE ENQUIRY";
cout<<"nnt05. ALL ACCOUNT
HOLDER LIST";
cout<<"nnt06. CLOSE AN ACCOUNT";
cout<<"nnt07. MODIFY AN
ACCOUNT";
cout<<"nnt08. EXIT";
cout<<"nntSelect Your Option (1-8)
";
cin>>ch;
clrscr();
switch(ch)
{
case '1':
17 | P a g e
18. write_account();
break;
case '2':
cout<<"nntEnter The account No. :
"; cin>>num;
deposit_withdraw(num, 1);
break;
case '3':
cout<<"nntEnter The account No. :
"; cin>>num;
deposit_withdraw(num, 2);
break;
case '4':
cout<<"nntEnter The account No. :
"; cin>>num;
display_sp(num);
break;
case '5':
display_all();
18 | P a g e
19. break;
case '6':
cout<<"nntEnter The account No. :
"; cin>>num;
delete_account(num);
break;
case '7':
cout<<"nntEnter The account No. :
"; cin>>num;
modify_account(num);
break;
case '8':
cout<<"nntThanks for using bank
managemnt system";
break;
default :cout<<"a";
}
getch();
}while(ch!='8');
19 | P a g e
20. return 0;
}
//*********************************************
******************
// function to write in file
//*********************************************
*******************
void write_account()
{
account ac;
ofstream outFile;
outFile.open("account.dat",ios::binary|
ios::app);
ac.create_account();
outFile.write((char *) &ac, sizeof(account));
outFile.close();
20 | P a g e
21. }
//*********************************************
******************
// function to read specific record from file
//*********************************************
*******************
void display_sp(int n)
{
account ac;
int flag=0;
ifstream inFile;
inFile.open("account.dat",ios::binary);
if(!inFile)
{
cout<<"File could not be open !! Press
any Key...";
return;
21 | P a g e
23. //*********************************************
******************
// function to modify record of file
//*********************************************
*******************
void modify_account(int n)
{
int found=0;
account ac;
fstream File;
File.open("account.dat",ios::binary|ios::in|
ios::out);
if(!File)
{
cout<<"File could not be open !! Press
any Key...";
return;
}
23 | P a g e
24. while(File.read((char *) &ac,
sizeof(account)) && found==0)
{
if(ac.retacno()==n)
{
ac.show_account();
cout<<"nnEnter The New Details of
account"<<endl;
ac.modify();
int pos=(-1)*sizeof(account);
File.seekp(pos,ios::cur);
File.write((char *) &ac,
sizeof(account));
cout<<"nnt Record Updated";
found=1;
}
}
File.close();
if(found==0)
24 | P a g e
25. cout<<"nn Record Not Found ";
}
//*********************************************
******************
// function to delete record of file
//*********************************************
*******************
void delete_account(int n)
{
account ac;
ifstream inFile;
ofstream outFile;
inFile.open("account.dat",ios::binary);
if(!inFile)
{
25 | P a g e
26. cout<<"File could not be open !! Press
any Key...";
return;
}
outFile.open("Temp.dat",ios::binary);
inFile.seekg(0,ios::beg);
while(inFile.read((char *) &ac,
sizeof(account)))
{
if(ac.retacno()!=n)
{
outFile.write((char *) &ac,
sizeof(account));
}
}
inFile.close();
outFile.close();
remove("account.dat");
rename("Temp.dat","account.dat");
26 | P a g e
29. // function to deposit and withdraw
amounts
//*********************************************
*******************
void deposit_withdraw(int n, int option)
{
int amt;
int found=0;
account ac;
fstream File;
File.open("account.dat", ios::binary|ios::in|
ios::out);
if(!File)
{
cout<<"File could not be open !! Press
any Key...";
return;
}
29 | P a g e
30. while(File.read((char *) &ac,
sizeof(account)) && found==0)
{
if(ac.retacno()==n)
{
ac.show_account();
if(option==1)
{
cout<<"nntTO DEPOSITE
AMOUNT ";
cout<<"nnEnter The amount
to be deposited";
cin>>amt;
ac.dep(amt);
}
if(option==2)
{
cout<<"nntTO WITHDRAW
AMOUNT ";
30 | P a g e
31. cout<<"nnEnter The amount
to be withdraw";
cin>>amt;
int bal=ac.retdeposit()-amt;
if((bal<500 &&
ac.rettype()=='S') || (bal<1000 &&
ac.rettype()=='C'))
cout<<"Insufficience
balance";
else
ac.draw(amt);
}
int pos=(-1)* sizeof(ac);
File.seekp(pos,ios::cur);
File.write((char *) &ac,
sizeof(account));
cout<<"nnt Record Updated";
found=1;
}
}
31 | P a g e
32. File.close();
if(found==0)
cout<<"nn Record Not Found ";
}
//*********************************************
******************
// INTRODUCTION FUNCTION
//*********************************************
*******************
void intro()
{
cout<<"nnnt BANK";
cout<<"nntMANAGEMENT";
cout<<"nnt SYSTEM";
cout<<"nnnnMADE BY : your name";
cout<<"nnSCHOOL : your school name";
32 | P a g e