#include <iostream>
#include <fstream>
#include <conio.h>
#include <string>
using namespace std;
int main(); string username,password,un,pw;
{ int choice;
cout<<"1: Registration\n2: Login\nYour choice: " ;
cin>>choice;
if (choice ==1)
{
cout<<"Select a username: " ;cin>>username;
cout<<"Select a pssword: " ;cin>>password;
}
else if (choice == 2)
{
if (username == un && password == pw)
{
return true;
}
else
{
return false;
}
}
}
read comments in number order. 1 2 3