-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.cpp
More file actions
35 lines (35 loc) · 700 Bytes
/
main.cpp
File metadata and controls
35 lines (35 loc) · 700 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#include<bits/stdc++.h>
#include"file.cpp"
#include"title.h"
using namespace std;
int main()
{
while(true)
{
title();
cout<<"enter the choice:"<<endl;
cout<<"1)create account"<<endl;
cout<<"2)login"<<endl;
cout<<"3)exit"<<endl;
char c;
cin>>c;
switch (c)
{
case '1':
createtitle();
create();
break;
case '2':
logintitle();
login();
break;
case '3':
exittitle();
return 0;
break;
default:
cout<<"please select a valid option"<<endl;
break;
}
}
}