Computer science class 12 Project

Share Embed Donate


Short Description

its my project of class 12 on atm machine which use concept of data file handling...

Description

S.I.C.A. Sr. Sec. School, Sch. No.-78, Indore

Topic: - Bank account management system Session: - 2015-16 Guided by: by: -

Submitted

Mr. Sanjay Ojha Sadriwala

Mustafa

12th ‘A’ Roll no:-

CERTIFICATE This is to certify that the computer science project titled ‘bank account management system’ is a work done by Mustafa Sadriwala of class 12th A in the academic session of 2015-16, in the partial fulfillment of curriculum of C.B.S.E.’s AISSCE examination 2015-16.

Signature of External examiner examiner

Signature of Internal

Signature of principal

School seal

ACKNOWLEDGEMENT I would like to express special thanks of gratitude to our principal, Mrs. Abha Johari, and my teacher, Mr. Sanjay Ojha to give me opportunity to work on the project of computer science on topic, ‘bank account management system’, which helped me to gain more knowledge and to build my practical thinking. It was very exciting and helpful. I would also like to thank my family members and my friends, who helped me to work on this project. I am also thankful to the entire computer science department of our school, for their support and cooperation. And, I am also thankful to our school library for

providing me enough study material to complete this project successfully.

INDEX S.No.

Topic

1. topic

About the

2. platform

About the

3. code

Source

4. output

Sample

5. Conclusion

6. Bibliography

ABOUT THE TOPIC This project has been made to demonstrate simple bank account management system via C++. It is a program which allows the user to enjoy the benefits of withdrawal, deposition and checking of balance, in an account having 1,000 rupees as initial amount. It also allows user to change the pin code of the account, which is initially 1234.

This program utilizes the concept of data file handling of C++, and also uses the user defined functions of C++, and classes and objects.

ABOUT THE PLATFORM The following program has been made in programming language, C++. It is a 3rd generation language developed by Bjarne Stroustrup at Bell Labs, in 1983. It is regarded as general purpose programming language. It has imperative, object

oriented and generic programming features, while it also providing facilities for low-level memory manipulation. C++ introduces object-oriented programming (OOP) features to C. It offers classes, which provide the four features commonly present in OOP languages, i.e., encapsulation, inheritance, polymorphism abstraction.

SOURCE CODE #include #include #include #include class account

{ int pin; float balance; public: float amount; float getbal(); int getpin(); float deposit(); float withdraw(); void pinchange(); }acc; float account::getbal() { ifstream fin("balance.txt"); if(!fin) { coutbalance;

fin.close(); return balance; } int account::getpin() { ifstream fi("pincode.txt"); if(!fi) { coutpin; fi.close();

return pin; } float account::deposit() { int newbal=acc.getbal()+acc.amount; ofstream fout("balance.txt");

fout
View more...

Comments

Copyright ©2017 KUPDF Inc.
SUPPORT KUPDF