2
Most read
# include<constream.h>
int main()
{
clrscr();
int password;
for (int i=0;i<3;i++)
{cout<<"enter password:n";
cin>>password;
if (password==12345)
{cout<<"correct!n";
double balance=10000;
double withdraw,deposit;
int option;
cout<<"n";
cout<< "       *************Aqib memon****************n";
   cout<<"********Automated teller machine********"<<endl;
   cout<<"choose a transaction n";
   cout<<"n";
   cout<<"[1] inquire balance n"
       <<"[2] withdraw n"
       <<"[3] deposite n"
       <<"[4] Quit n"
       <<"n"
       <<"Enter option:";
   cin>>option;
   switch(option)
   {
   case 1:
   cout<<"n [[[BALANCE INQUIRY]]]n";
   cout.setf(ios::fixed);
   cout.setf(ios::showpoint);
   cout.precision(2);
   cout<<"n your current balance is Rs:"<<balance<<endl;
   break;
   case 2:
   cout<<"n [[[WITHDRAW]]]n";
   cout<<"n Enter ammount Rs:";
   cin>>withdraw;
   balance=balance-withdraw;
   cout.setf(ios::fixed);
cout.setf(ios::showpoint);
  cout.precision(2);
  cout<<"you withdrew Rs:"<<withdraw<<endl;
  cout<<"your remainig balance is"<<balance<<endl;
  continue;
  case 3:
  cout<<"n [[[deposit]]]n";
  cout<<"Enter ammount Rs:";
  cin>>deposit;
  balance=balance+deposit;
  cout.setf(ios::fixed);
  cout.setf(ios::showpoint);
  cout.precision(2);
  cout<<"You deposited Rs:"<<deposit<<endl;
  cout<<"Your new balance is"<<balance<<endl;
  continue;
  case 4:
  cout<<"n***[[[EXIT MODE]]]***n";
  break;
  default :
  cout<<"n That is an invalid optionn";
  }


  break;
   }
  else
  cout<<"n please try again n";
  }


getch();
return 0;
}

More Related Content

PDF
Pseudocode & flowchart examples
PPTX
windows 10
PPT
Computer Programming - Lecture 2
PPT
Basic computer skill part 2 | Brad Steven Solvie
PPTX
Lesson 1 computer safety and maintenance
 
PPT
Software and hardware presentation
PPT
Introduction To Operating System
PPT
Computer Programming- Lecture 3
Pseudocode & flowchart examples
windows 10
Computer Programming - Lecture 2
Basic computer skill part 2 | Brad Steven Solvie
Lesson 1 computer safety and maintenance
 
Software and hardware presentation
Introduction To Operating System
Computer Programming- Lecture 3

What's hot (20)

PPTX
Windows 10 presentation
PPTX
Application software
PPTX
Pseudocode-Flowchart
 
PPTX
Presentation on Raspberry Pi by Sazzad H. IIUC
 
PPTX
DNS: EdgeCast Route - Technical DNS Service Overview
DOCX
Internet ethics and rules
PPTX
Presentation on Mouse
PPTX
Information processing
PPT
Chapter 1 - An Introduction to Programming
PPT
Fundamental of computer
PPTX
Task bar and start menu in window 10 - Class IV
PPTX
Online Safety and Security
PPTX
Boot process
PPTX
Input Devices.pptx
PPTX
Basic of Computer fundamental
PPTX
C++ project
PPTX
Fundamentals of operating system
PPT
The Future of the Internet
PPTX
Computer programming 2 chapter 1
PPTX
Introduction to Pseudocode
Windows 10 presentation
Application software
Pseudocode-Flowchart
 
Presentation on Raspberry Pi by Sazzad H. IIUC
 
DNS: EdgeCast Route - Technical DNS Service Overview
Internet ethics and rules
Presentation on Mouse
Information processing
Chapter 1 - An Introduction to Programming
Fundamental of computer
Task bar and start menu in window 10 - Class IV
Online Safety and Security
Boot process
Input Devices.pptx
Basic of Computer fundamental
C++ project
Fundamentals of operating system
The Future of the Internet
Computer programming 2 chapter 1
Introduction to Pseudocode
Ad

Similar to Atm machine using c++ (20)

DOC
Atm machine using c++
DOC
Atm machine using c++
DOC
Atm machine using c++
PDF
This what Im suppose to do and this is what I have so far.In thi.pdf
PPTX
Bank Management System
DOCX
Cbsecomputersciencecclass12boardproject bankmanagmentsystem-180703065625-conv...
DOC
Cbse class-xii-computer-science-project
DOC
Cbse class-xii-computer-science-projec
PDF
C++ coding for Banking System program
DOC
Computer mai ns project
DOC
Computer mai ns project
PDF
BANK MANAGEMENT INVESTIGATORY PROJECT CLASS 12TH
PDF
Cbse computer science (c++) class 12 board project bank managment system
PDF
#include iostream #include BankAccountClass.cpp #include .pdf
PDF
main.cpp #include iostream #include iomanip #include fs.pdf
PPTX
C programming
DOCX
bank management system
PDF
Rajeev oops 2nd march
DOCX
User.DS_Store__MACOSXUser._.DS_Store__MACOSXUser._D.docx
PDF
A09
 
Atm machine using c++
Atm machine using c++
Atm machine using c++
This what Im suppose to do and this is what I have so far.In thi.pdf
Bank Management System
Cbsecomputersciencecclass12boardproject bankmanagmentsystem-180703065625-conv...
Cbse class-xii-computer-science-project
Cbse class-xii-computer-science-projec
C++ coding for Banking System program
Computer mai ns project
Computer mai ns project
BANK MANAGEMENT INVESTIGATORY PROJECT CLASS 12TH
Cbse computer science (c++) class 12 board project bank managment system
#include iostream #include BankAccountClass.cpp #include .pdf
main.cpp #include iostream #include iomanip #include fs.pdf
C programming
bank management system
Rajeev oops 2nd march
User.DS_Store__MACOSXUser._.DS_Store__MACOSXUser._D.docx
A09
 
Ad

More from Aqib Memon (20)

DOC
Communication skills in english
PDF
Mentally slow poision
DOC
Human personality and its pathology
DOC
Corporate crime reporter
PDF
Pakistan penal code
DOC
Speech preparation
DOC
How to handle and help emotionally sensitive people
DOC
Good sense of humor
DOC
Dealing with relatives
DOC
A guide to good communication skills even if you are shy
DOC
Voice & accent
PDF
how to have New ideas
PDF
New ideas
DOC
If i become pm of pakistan
PPT
The way to get rid of fatness
DOC
Steganography
PDF
New ideas
PPT
01 computer%20 forensics%20in%20todays%20world
DOC
Basic questions about artificial intelligence
DOC
Speech preparation
Communication skills in english
Mentally slow poision
Human personality and its pathology
Corporate crime reporter
Pakistan penal code
Speech preparation
How to handle and help emotionally sensitive people
Good sense of humor
Dealing with relatives
A guide to good communication skills even if you are shy
Voice & accent
how to have New ideas
New ideas
If i become pm of pakistan
The way to get rid of fatness
Steganography
New ideas
01 computer%20 forensics%20in%20todays%20world
Basic questions about artificial intelligence
Speech preparation

Recently uploaded (20)

PPTX
GROUP4NURSINGINFORMATICSREPORT-2 PRESENTATION
PPT
Galois Field Theory of Risk: A Perspective, Protocol, and Mathematical Backgr...
PPTX
The various Industrial Revolutions .pptx
PDF
OpenACC and Open Hackathons Monthly Highlights July 2025
PDF
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
PDF
UiPath Agentic Automation session 1: RPA to Agents
PDF
A review of recent deep learning applications in wood surface defect identifi...
PPTX
Custom Battery Pack Design Considerations for Performance and Safety
PDF
Enhancing plagiarism detection using data pre-processing and machine learning...
PPTX
Module 1 Introduction to Web Programming .pptx
PPTX
Modernising the Digital Integration Hub
PDF
The influence of sentiment analysis in enhancing early warning system model f...
PDF
Five Habits of High-Impact Board Members
PDF
4 layer Arch & Reference Arch of IoT.pdf
PDF
Convolutional neural network based encoder-decoder for efficient real-time ob...
PPT
Geologic Time for studying geology for geologist
PDF
Comparative analysis of machine learning models for fake news detection in so...
PDF
Accessing-Finance-in-Jordan-MENA 2024 2025.pdf
PDF
Taming the Chaos: How to Turn Unstructured Data into Decisions
PPTX
Training Program for knowledge in solar cell and solar industry
GROUP4NURSINGINFORMATICSREPORT-2 PRESENTATION
Galois Field Theory of Risk: A Perspective, Protocol, and Mathematical Backgr...
The various Industrial Revolutions .pptx
OpenACC and Open Hackathons Monthly Highlights July 2025
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
UiPath Agentic Automation session 1: RPA to Agents
A review of recent deep learning applications in wood surface defect identifi...
Custom Battery Pack Design Considerations for Performance and Safety
Enhancing plagiarism detection using data pre-processing and machine learning...
Module 1 Introduction to Web Programming .pptx
Modernising the Digital Integration Hub
The influence of sentiment analysis in enhancing early warning system model f...
Five Habits of High-Impact Board Members
4 layer Arch & Reference Arch of IoT.pdf
Convolutional neural network based encoder-decoder for efficient real-time ob...
Geologic Time for studying geology for geologist
Comparative analysis of machine learning models for fake news detection in so...
Accessing-Finance-in-Jordan-MENA 2024 2025.pdf
Taming the Chaos: How to Turn Unstructured Data into Decisions
Training Program for knowledge in solar cell and solar industry

Atm machine using c++

  • 1. # include<constream.h> int main() { clrscr(); int password; for (int i=0;i<3;i++) {cout<<"enter password:n"; cin>>password; if (password==12345) {cout<<"correct!n"; double balance=10000; double withdraw,deposit; int option; cout<<"n"; cout<< " *************Aqib memon****************n"; cout<<"********Automated teller machine********"<<endl; cout<<"choose a transaction n"; cout<<"n"; cout<<"[1] inquire balance n" <<"[2] withdraw n" <<"[3] deposite n" <<"[4] Quit n" <<"n" <<"Enter option:"; cin>>option; switch(option) { case 1: cout<<"n [[[BALANCE INQUIRY]]]n"; cout.setf(ios::fixed); cout.setf(ios::showpoint); cout.precision(2); cout<<"n your current balance is Rs:"<<balance<<endl; break; case 2: cout<<"n [[[WITHDRAW]]]n"; cout<<"n Enter ammount Rs:"; cin>>withdraw; balance=balance-withdraw; cout.setf(ios::fixed);
  • 2. cout.setf(ios::showpoint); cout.precision(2); cout<<"you withdrew Rs:"<<withdraw<<endl; cout<<"your remainig balance is"<<balance<<endl; continue; case 3: cout<<"n [[[deposit]]]n"; cout<<"Enter ammount Rs:"; cin>>deposit; balance=balance+deposit; cout.setf(ios::fixed); cout.setf(ios::showpoint); cout.precision(2); cout<<"You deposited Rs:"<<deposit<<endl; cout<<"Your new balance is"<<balance<<endl; continue; case 4: cout<<"n***[[[EXIT MODE]]]***n"; break; default : cout<<"n That is an invalid optionn"; } break; } else cout<<"n please try again n"; } getch(); return 0; }