From 56a20f801747de606e2579fe2eb0a04d6c2549a1 Mon Sep 17 00:00:00 2001 From: Bhushan0246 <65452015+Bhushan0246@users.noreply.github.com> Date: Thu, 7 Oct 2021 14:26:53 +0530 Subject: [PATCH] Create Bank of coding.cpp --- CPP/Bank of coding.cpp | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 CPP/Bank of coding.cpp diff --git a/CPP/Bank of coding.cpp b/CPP/Bank of coding.cpp new file mode 100644 index 0000000..2398b53 --- /dev/null +++ b/CPP/Bank of coding.cpp @@ -0,0 +1,24 @@ +#include +int main() { + int pin,tries; + std::cout << "BANK OF CODING"<> pin; + if(pin<1000 || pin>9999){ + std::cout<<"Please enter four digit PIN:"; + std::cin>>pin; + std::cout<<"tries: "<> pin; + std::cout<<"tries: "<