SlideShare a Scribd company logo
1 of 2
# 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

What's hot

Programming assignment 30 12-11
Programming assignment 30 12-11Programming assignment 30 12-11
Programming assignment 30 12-11Bilal Maqbool ツ
 
Super Advanced Python –act1
Super Advanced Python –act1Super Advanced Python –act1
Super Advanced Python –act1Ke Wei Louis
 
Standford 2015 week9
Standford 2015 week9Standford 2015 week9
Standford 2015 week9彼得潘 Pan
 
From Node.js to Design Patterns
From Node.js to Design Patterns From Node.js to Design Patterns
From Node.js to Design Patterns Luciano Mammino
 
cocos2d 事例編 HungryMasterの実装から
cocos2d 事例編 HungryMasterの実装からcocos2d 事例編 HungryMasterの実装から
cocos2d 事例編 HungryMasterの実装からYuichi Higuchi
 
c++ program for Canteen management
c++ program for Canteen managementc++ program for Canteen management
c++ program for Canteen managementSwarup Kumar Boro
 
Standford 2015 week3: Objective-C Compatibility, Property List, Views
Standford 2015 week3: Objective-C Compatibility, Property List, ViewsStandford 2015 week3: Objective-C Compatibility, Property List, Views
Standford 2015 week3: Objective-C Compatibility, Property List, Views彼得潘 Pan
 
The Ring programming language version 1.3 book - Part 66 of 88
The Ring programming language version 1.3 book - Part 66 of 88The Ring programming language version 1.3 book - Part 66 of 88
The Ring programming language version 1.3 book - Part 66 of 88Mahmoud Samir Fayed
 
Fixing Web Data in Production
Fixing Web Data in ProductionFixing Web Data in Production
Fixing Web Data in ProductionAaron Knight
 
VISUALIZAR REGISTROS EN UN JTABLE
VISUALIZAR REGISTROS EN UN JTABLEVISUALIZAR REGISTROS EN UN JTABLE
VISUALIZAR REGISTROS EN UN JTABLEDarwin Durand
 
JavaSE7 Launch Event: Java7xGroovy
JavaSE7 Launch Event: Java7xGroovyJavaSE7 Launch Event: Java7xGroovy
JavaSE7 Launch Event: Java7xGroovyYasuharu Nakano
 
Зависимые типы в GHC 8. Максим Талдыкин
Зависимые типы в GHC 8. Максим ТалдыкинЗависимые типы в GHC 8. Максим Талдыкин
Зависимые типы в GHC 8. Максим ТалдыкинЮрий Сыровецкий
 

What's hot (20)

Programming assignment 30 12-11
Programming assignment 30 12-11Programming assignment 30 12-11
Programming assignment 30 12-11
 
Super Advanced Python –act1
Super Advanced Python –act1Super Advanced Python –act1
Super Advanced Python –act1
 
Standford 2015 week9
Standford 2015 week9Standford 2015 week9
Standford 2015 week9
 
program C++ Atm
program C++ Atmprogram C++ Atm
program C++ Atm
 
Ooprc4 b
Ooprc4 bOoprc4 b
Ooprc4 b
 
From Node.js to Design Patterns
From Node.js to Design Patterns From Node.js to Design Patterns
From Node.js to Design Patterns
 
cocos2d 事例編 HungryMasterの実装から
cocos2d 事例編 HungryMasterの実装からcocos2d 事例編 HungryMasterの実装から
cocos2d 事例編 HungryMasterの実装から
 
Undo Management
Undo ManagementUndo Management
Undo Management
 
Oopsprc1c
Oopsprc1cOopsprc1c
Oopsprc1c
 
c++ program for Canteen management
c++ program for Canteen managementc++ program for Canteen management
c++ program for Canteen management
 
Standford 2015 week3: Objective-C Compatibility, Property List, Views
Standford 2015 week3: Objective-C Compatibility, Property List, ViewsStandford 2015 week3: Objective-C Compatibility, Property List, Views
Standford 2015 week3: Objective-C Compatibility, Property List, Views
 
Class ‘increment’
Class ‘increment’Class ‘increment’
Class ‘increment’
 
goto dengan C++
goto dengan C++goto dengan C++
goto dengan C++
 
The Ring programming language version 1.3 book - Part 66 of 88
The Ring programming language version 1.3 book - Part 66 of 88The Ring programming language version 1.3 book - Part 66 of 88
The Ring programming language version 1.3 book - Part 66 of 88
 
Fixing Web Data in Production
Fixing Web Data in ProductionFixing Web Data in Production
Fixing Web Data in Production
 
VISUALIZAR REGISTROS EN UN JTABLE
VISUALIZAR REGISTROS EN UN JTABLEVISUALIZAR REGISTROS EN UN JTABLE
VISUALIZAR REGISTROS EN UN JTABLE
 
JavaSE7 Launch Event: Java7xGroovy
JavaSE7 Launch Event: Java7xGroovyJavaSE7 Launch Event: Java7xGroovy
JavaSE7 Launch Event: Java7xGroovy
 
Penjualan swalayan
Penjualan swalayanPenjualan swalayan
Penjualan swalayan
 
Oop lab report
Oop lab reportOop lab report
Oop lab report
 
Зависимые типы в GHC 8. Максим Талдыкин
Зависимые типы в GHC 8. Максим ТалдыкинЗависимые типы в GHC 8. Максим Талдыкин
Зависимые типы в GHC 8. Максим Талдыкин
 

Similar to Atm machine using c++

This what Im suppose to do and this is what I have so far.In thi.pdf
This what Im suppose to do and this is what I have so far.In thi.pdfThis what Im suppose to do and this is what I have so far.In thi.pdf
This what Im suppose to do and this is what I have so far.In thi.pdfkavithaarp
 
Programa Sumar y Multiplicar
Programa Sumar y MultiplicarPrograma Sumar y Multiplicar
Programa Sumar y MultiplicarAnais Rodriguez
 
main.cpp #include iostream #include iomanip #include fs.pdf
main.cpp #include iostream #include iomanip #include fs.pdfmain.cpp #include iostream #include iomanip #include fs.pdf
main.cpp #include iostream #include iomanip #include fs.pdfarwholesalelors
 
i need to write a return type function that takes information about th.docx
i need to write a return type function that takes information about th.docxi need to write a return type function that takes information about th.docx
i need to write a return type function that takes information about th.docxhendriciraida
 
Unit 1 ocs752 introduction to c programming
Unit 1 ocs752 introduction to c programmingUnit 1 ocs752 introduction to c programming
Unit 1 ocs752 introduction to c programmingvrgokila
 
Bangun datar dan bangun ruang
Bangun datar dan bangun ruangBangun datar dan bangun ruang
Bangun datar dan bangun ruangSanSan Yagyoo
 
Powerpoint loop examples a
Powerpoint loop examples aPowerpoint loop examples a
Powerpoint loop examples ajaypeebala
 
simple-movie-ticket-booking-system-1
simple-movie-ticket-booking-system-1simple-movie-ticket-booking-system-1
simple-movie-ticket-booking-system-1Ajay132002
 
Rajeev oops 2nd march
Rajeev oops 2nd marchRajeev oops 2nd march
Rajeev oops 2nd marchRajeev Sharan
 
Tugas praktikukm pemrograman c++
Tugas praktikukm  pemrograman c++Tugas praktikukm  pemrograman c++
Tugas praktikukm pemrograman c++Dendi Riadi
 
i need to modify this c++ so when the user enter services thats not an.docx
i need to modify this c++ so when the user enter services thats not an.docxi need to modify this c++ so when the user enter services thats not an.docx
i need to modify this c++ so when the user enter services thats not an.docxhendriciraida
 
54602399 c-examples-51-to-108-programe-ee01083101
54602399 c-examples-51-to-108-programe-ee0108310154602399 c-examples-51-to-108-programe-ee01083101
54602399 c-examples-51-to-108-programe-ee01083101premrings
 

Similar to Atm machine using c++ (20)

C++ file
C++ fileC++ file
C++ file
 
C++ file
C++ fileC++ file
C++ file
 
Hospital management
Hospital managementHospital management
Hospital management
 
Hospital management
Hospital managementHospital management
Hospital management
 
This what Im suppose to do and this is what I have so far.In thi.pdf
This what Im suppose to do and this is what I have so far.In thi.pdfThis what Im suppose to do and this is what I have so far.In thi.pdf
This what Im suppose to do and this is what I have so far.In thi.pdf
 
Programa Sumar y Multiplicar
Programa Sumar y MultiplicarPrograma Sumar y Multiplicar
Programa Sumar y Multiplicar
 
Asssignment2
Asssignment2 Asssignment2
Asssignment2
 
main.cpp #include iostream #include iomanip #include fs.pdf
main.cpp #include iostream #include iomanip #include fs.pdfmain.cpp #include iostream #include iomanip #include fs.pdf
main.cpp #include iostream #include iomanip #include fs.pdf
 
i need to write a return type function that takes information about th.docx
i need to write a return type function that takes information about th.docxi need to write a return type function that takes information about th.docx
i need to write a return type function that takes information about th.docx
 
Unit 1 ocs752 introduction to c programming
Unit 1 ocs752 introduction to c programmingUnit 1 ocs752 introduction to c programming
Unit 1 ocs752 introduction to c programming
 
Bangun datar dan bangun ruang
Bangun datar dan bangun ruangBangun datar dan bangun ruang
Bangun datar dan bangun ruang
 
Project in programming
Project in programmingProject in programming
Project in programming
 
Powerpoint loop examples a
Powerpoint loop examples aPowerpoint loop examples a
Powerpoint loop examples a
 
simple-movie-ticket-booking-system-1
simple-movie-ticket-booking-system-1simple-movie-ticket-booking-system-1
simple-movie-ticket-booking-system-1
 
Rajeev oops 2nd march
Rajeev oops 2nd marchRajeev oops 2nd march
Rajeev oops 2nd march
 
Tugas praktikukm pemrograman c++
Tugas praktikukm  pemrograman c++Tugas praktikukm  pemrograman c++
Tugas praktikukm pemrograman c++
 
Pratik Bakane C++
Pratik Bakane C++Pratik Bakane C++
Pratik Bakane C++
 
i need to modify this c++ so when the user enter services thats not an.docx
i need to modify this c++ so when the user enter services thats not an.docxi need to modify this c++ so when the user enter services thats not an.docx
i need to modify this c++ so when the user enter services thats not an.docx
 
54602399 c-examples-51-to-108-programe-ee01083101
54602399 c-examples-51-to-108-programe-ee0108310154602399 c-examples-51-to-108-programe-ee01083101
54602399 c-examples-51-to-108-programe-ee01083101
 
Railwaynew
RailwaynewRailwaynew
Railwaynew
 

More from Aqib Memon

Communication skills in english
Communication skills in englishCommunication skills in english
Communication skills in englishAqib Memon
 
Mentally slow poision
Mentally slow poisionMentally slow poision
Mentally slow poisionAqib Memon
 
Human personality and its pathology
Human personality and its pathologyHuman personality and its pathology
Human personality and its pathologyAqib Memon
 
Corporate crime reporter
Corporate crime reporterCorporate crime reporter
Corporate crime reporterAqib Memon
 
Pakistan penal code
Pakistan penal codePakistan penal code
Pakistan penal codeAqib Memon
 
Speech preparation
Speech preparationSpeech preparation
Speech preparationAqib Memon
 
How to handle and help emotionally sensitive people
How to handle and help emotionally sensitive peopleHow to handle and help emotionally sensitive people
How to handle and help emotionally sensitive peopleAqib Memon
 
Good sense of humor
Good sense of humorGood sense of humor
Good sense of humorAqib Memon
 
Dealing with relatives
Dealing with relativesDealing with relatives
Dealing with relativesAqib Memon
 
A guide to good communication skills even if you are shy
A guide to good communication skills even if you are shyA guide to good communication skills even if you are shy
A guide to good communication skills even if you are shyAqib Memon
 
Voice & accent
Voice & accentVoice & accent
Voice & accentAqib Memon
 
Atm machine using c++
Atm machine using c++Atm machine using c++
Atm machine using c++Aqib Memon
 
how to have New ideas
how to have New ideashow to have New ideas
how to have New ideasAqib Memon
 
If i become pm of pakistan
If i become pm of pakistanIf i become pm of pakistan
If i become pm of pakistanAqib Memon
 
The way to get rid of fatness
The way to get rid of fatnessThe way to get rid of fatness
The way to get rid of fatnessAqib Memon
 
01 computer%20 forensics%20in%20todays%20world
01 computer%20 forensics%20in%20todays%20world01 computer%20 forensics%20in%20todays%20world
01 computer%20 forensics%20in%20todays%20worldAqib Memon
 
Basic questions about artificial intelligence
Basic questions about artificial intelligenceBasic questions about artificial intelligence
Basic questions about artificial intelligenceAqib Memon
 

More from Aqib Memon (20)

Communication skills in english
Communication skills in englishCommunication skills in english
Communication skills in english
 
Mentally slow poision
Mentally slow poisionMentally slow poision
Mentally slow poision
 
Human personality and its pathology
Human personality and its pathologyHuman personality and its pathology
Human personality and its pathology
 
Corporate crime reporter
Corporate crime reporterCorporate crime reporter
Corporate crime reporter
 
Pakistan penal code
Pakistan penal codePakistan penal code
Pakistan penal code
 
Speech preparation
Speech preparationSpeech preparation
Speech preparation
 
How to handle and help emotionally sensitive people
How to handle and help emotionally sensitive peopleHow to handle and help emotionally sensitive people
How to handle and help emotionally sensitive people
 
Good sense of humor
Good sense of humorGood sense of humor
Good sense of humor
 
Dealing with relatives
Dealing with relativesDealing with relatives
Dealing with relatives
 
A guide to good communication skills even if you are shy
A guide to good communication skills even if you are shyA guide to good communication skills even if you are shy
A guide to good communication skills even if you are shy
 
Voice & accent
Voice & accentVoice & accent
Voice & accent
 
Atm machine using c++
Atm machine using c++Atm machine using c++
Atm machine using c++
 
how to have New ideas
how to have New ideashow to have New ideas
how to have New ideas
 
New ideas
New ideasNew ideas
New ideas
 
If i become pm of pakistan
If i become pm of pakistanIf i become pm of pakistan
If i become pm of pakistan
 
The way to get rid of fatness
The way to get rid of fatnessThe way to get rid of fatness
The way to get rid of fatness
 
Steganography
SteganographySteganography
Steganography
 
New ideas
New ideasNew ideas
New ideas
 
01 computer%20 forensics%20in%20todays%20world
01 computer%20 forensics%20in%20todays%20world01 computer%20 forensics%20in%20todays%20world
01 computer%20 forensics%20in%20todays%20world
 
Basic questions about artificial intelligence
Basic questions about artificial intelligenceBasic questions about artificial intelligence
Basic questions about artificial intelligence
 

Recently uploaded

Unlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsUnlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsPrecisely
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentationphoebematthew05
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDGMarianaLemus7
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Bluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfBluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfngoud9212
 
Science&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfScience&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfjimielynbastida
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 

Recently uploaded (20)

Unlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsUnlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power Systems
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentation
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDG
 
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort ServiceHot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Bluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfBluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdf
 
Science&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfScience&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdf
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
The transition to renewables in India.pdf
The transition to renewables in India.pdfThe transition to renewables in India.pdf
The transition to renewables in India.pdf
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 

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;
  • 2. 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; }