Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

AKQ HIDDEN PASS AND MORE JUST NEED HELP IN LOGIN PART ONLY TO HIDE PASSWORD

0 votes
asked Jun 4, 2018 by Arslan K Q (160 points)

1 Answer

0 votes
answered Jun 5, 2018 by Elijah B 2024 (160 points)
i have the perfect program password is Herer5 make and encryption method

///void/// fire 1.3

#include <iostream>

#include <string>

using namespace std;

int

main ()

{

int mm = 3;

pass:

  string pw;

  string hq = "H";

  string mq = "e";

  int g = 7;

  int a = 2.5;

  int b = 2.5;

  b = a + a;

  a = b * 2 / 2;

  int c = b + a / 2;

  string omega = "5";

  int d = 7 * 7 / 7 - 1 + 2;

  g = 7 * 2 / 2;

  if (g == 14)

    {

    }

  else

    {

      string oq = mq;

      string an = hq + oq + "r" + oq + "r" + omega;

      cout << "please type password" << endl;

      cin >> pw;

      if (pw == an)

{

  cout << "welcome" << endl;

  return 0;

}

      else

{

  cout << "sorry Wrong Password" << endl;

  cout << "=====================" << endl;

  mm = mm - 1;

  if(mm<1){

      cout<<"wrong password lock mode"<<endl;

  return 0;

      

  }

  else{

  goto pass;

  }

      

  }

    }

}
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.
...