Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Source Code!


Description:
  BamcoSoft 3000
Language: C/C++
Code:
#include <iostream>

using namespace std;

int main()
{
  int p,b;
   cout <<"Bine ati venit la Banca CodeBlocks! " << endl;
   cout <<"Introduceti codul PIN: " << endl;
   cin>>p;
    if (p==1234)
      cout<<"Cati RON doriti sa extrageti?" << endl;
      else (cout<<"Cod PIN gresit!");
   cin>>b;
    if (b>5000)
     cout<<"Nu aveti destui RON!";
     else (cout<<"Va rugam ridicati banii.");
   
   
   return 0;
}
Comments: