Commit f179ae25 authored by Kajal's avatar Kajal

Fix: Adding Login Prompts

parent 8eca7243
#include<iostream>
#include"utils.h"
#include <iostream>
#include "utils.h"
#include <string>
using namespace std;
int main() {
char* nm, pwd;
cout<<"Enter your name"<<endl;
string nm, pwd;
cout<<"Enter Name:"<<endl;
cin>>nm;
cout<<"Enter your password"<<endl;
cin>>pwd;
if (login(nm, pwd)==true) cout<<"Success!"<<endl;
else cout<<"Login failed :("<<endl;
}
\ No newline at end of file
cout<<"Enter Password:"<<endl;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment