├── .gitignore
├── Airline_Flight_Reservation_System
├── readme.md
└── src
│ └── main.cpp
├── Banking-management-system
├── README.md
└── src
│ └── main.cpp
├── CODE_OF_CONDUCT.md
├── CONTRIBUTING.md
├── LICENSE
├── README.md
└── SECURITY.md
/.gitignore:
--------------------------------------------------------------------------------
1 | a.out
2 | *.exe
3 |
--------------------------------------------------------------------------------
/Airline_Flight_Reservation_System/readme.md:
--------------------------------------------------------------------------------
1 | ## Question
2 |
3 | - Online booking of tickets in different flights for different destinations all over the world
4 | - Showing availability of all flights
5 | - Showing flights timings for all 7 days of a week
6 | - Seats availability
7 | - Seat selection for travelers by giving the complete layout of the seating arrangement inside the flights
8 | - Food availability/non-availability inside the flights
9 | - Change of travel dates and amount charged.
10 |
11 |
--------------------------------------------------------------------------------
/Airline_Flight_Reservation_System/src/main.cpp:
--------------------------------------------------------------------------------
1 | #include
2 | using namespace std;
3 | /*
4 | Airline flight reservation system (online booking of tickets in different flights for different destinations all over the world, cancellation of tickets, clear display of cancellation amount, refund of amount after cancellation, showing availability of all flights, showing flights timings for all 7 days of a week, seats availability, seat selection for travelers by giving the complete layout of the seating arrangement inside the flights, food availability/non-availability inside the flights, change of travel dates and amount charged.)
5 | */
6 |
7 | //To store the total number of seats in the flight
8 | int total_number_of_seats=100;
9 | //To store if seat is booked or not, seat booked = -1, seat unbooked = 0
10 | int seats[100] = {0};
11 |
12 | bool taken_seat = false;
13 |
14 | //To store the number of seats booked till now
15 | int reserve_seats = 1000;
16 |
17 | //To store the number of cancelled tickets booked till now
18 | int cancel_tickets = 0;
19 |
20 | class Flight{
21 | public :
22 | Flight()
23 | {
24 | start = NULL;
25 | }
26 | void book_ticket();
27 | void cancel_ticket();
28 | void change_reservation();
29 | void passenger_details();
30 | void get_booking_details();
31 |
32 | private :
33 | //To store details of passenger
34 | struct passenger
35 | {
36 | string fname;
37 | string lname;
38 | string ID;
39 | string phone_number;
40 | string food_menu;
41 | int seat_number;
42 | int reservation_number;
43 | passenger *next;
44 | };
45 | //To denote the start of linked list of passengers
46 | passenger *start;
47 |
48 | //Temporary pointers
49 | passenger *temp_passenger;
50 | passenger *temp1;
51 | }flight; //flight is object of class Flight
52 |
53 | void allocate_seat_number(int snumber)
54 | {
55 | for (int i = 0; i < total_number_of_seats; i++ )
56 | {
57 | if( seats[i] == -1 )
58 | {
59 | taken_seat=true;
60 | cout << "The seat is taken already. \n";
61 | cout << "Please choose another seat number from below."<> temp_passenger->fname;
85 | cout << "Enter your last name: ";
86 | cin >> temp_passenger->lname;
87 | cout << "Enter your ID: ";
88 | cin >> temp_passenger->ID;
89 | cout << "Enter your phone number: ";
90 | cin >> temp_passenger->phone_number;
91 | int snumber;
92 | do{
93 | cout<<"Enter the seat number : ";
94 | cin>>snumber;
95 | while(snumber>total_number_of_seats)
96 | {
97 | cout<<"Invalid seat number, enter again : ";
98 | cin>>snumber;
99 | }
100 | if(seats[snumber-1]>-1)
101 | {
102 | taken_seat = false;
103 | }
104 | else
105 | allocate_seat_number(snumber);
106 |
107 | seats[snumber-1] = -1;
108 | temp_passenger->seat_number = snumber;
109 |
110 | }while(taken_seat == true);
111 |
112 |
113 | cout << "Enter your food choice preference : ";
114 | cout<< "1. Veg" << endl;
115 | cout<< "2. Non-Veg" << endl;
116 | cout<< "3. No Food" << endl;
117 | int choice;
118 | cout<<"Your choice : ";
119 | cin>>choice;
120 | while(choice>3 || choice<1)
121 | {
122 | cout<<"Invalid choice, enter again : ";
123 | cin>>choice;
124 | }
125 |
126 | if(choice==1)
127 | {
128 | temp_passenger->food_menu = "Veg";
129 | }
130 | else if(choice==2)
131 | {
132 | temp_passenger->food_menu = "Non-Veg";
133 | }
134 | else
135 | {
136 | temp_passenger->food_menu = "No Food";
137 | }
138 | temp_passenger->next = NULL;
139 |
140 | reserve_seats++;
141 | temp_passenger->reservation_number = reserve_seats;
142 | cout<<"Your reservation number is ::== "<next = NULL;
146 |
147 |
148 | //If the linked list is empty
149 | if(start == NULL)
150 | {
151 | start = temp_passenger;
152 | }
153 | else
154 | {
155 | passenger *temp = start;
156 | while(temp->next != NULL)
157 | {
158 | temp = temp->next;
159 | }
160 | temp->next = temp_passenger;
161 | }
162 | }
163 |
164 | void Flight :: cancel_ticket()
165 | {
166 | int reservation_number;
167 | cout << "Enter your reservation number: ";
168 | cin >> reservation_number;
169 | temp_passenger = start;
170 | temp1 = start;
171 | while(temp_passenger != NULL)
172 | {
173 | if(temp_passenger->reservation_number == reservation_number)
174 | {
175 | if(temp_passenger == start)
176 | {
177 | start = start->next;
178 | seats[0] = 0;
179 | cancel_tickets++;
180 | delete temp_passenger;
181 | break;
182 | }
183 | else
184 | {
185 | temp1->next = temp_passenger->next;
186 | seats[temp_passenger->seat_number-1] = -1;
187 | delete temp_passenger;
188 | cancel_tickets++;
189 | break;
190 | }
191 | }
192 | else
193 | {
194 | temp1 = temp_passenger;
195 | temp_passenger = temp_passenger->next;
196 | }
197 | }
198 | }
199 |
200 | void Flight :: change_reservation()
201 | {
202 | int currentseat_number , next_seat;
203 | cout << " Please enter your seat number: ";
204 | cin >> currentseat_number;
205 | passenger *currentpass;
206 | currentpass = start;
207 |
208 | while(currentpass != NULL)
209 | {
210 | if ( currentpass->seat_number == currentseat_number)
211 | break;
212 | currentpass = currentpass->next;
213 | }
214 | cout << "Please choose another seat number from below.";
215 | int x = 1;
216 | while ( x < total_number_of_seats+1 )
217 | {
218 | if ( seats[x-1] == -1)
219 | x++;
220 | else
221 | {
222 | cout <<"| " << x << "|";
223 | if ( x%10 == 0 )
224 | cout << endl;
225 | }
226 | }
227 | cin >> next_seat;
228 | seats[currentpass->seat_number-1]=0;
229 | currentpass->seat_number = next_seat;
230 | seats[next_seat-1] = -1;
231 | }
232 |
233 | // void Flight :: get_seat_map()
234 | // {
235 | // int i = 1;
236 | // while ( i < size+1 )
237 | // {
238 | // if ( seat[i-1] == -1)
239 | // cout <<"| " << i << "|";
240 | // else
241 | // cout <<"| " << "X" << "|";
242 | // if ( i%10 == 0 )
243 | // cout << endl;
244 | // i++;
245 | // }
246 | // }
247 |
248 | void Flight :: passenger_details()
249 | {
250 | int reservation_number;
251 | cout << "Enter your reservation number: ";
252 | cin >> reservation_number;
253 | temp_passenger = start;
254 | while(temp_passenger != NULL)
255 | {
256 | if(temp_passenger->reservation_number == reservation_number)
257 | {
258 | cout << "Reservation Number\t\tFirst Name\t\tLast Name\t\tID\t\tPhone Number\t\tSeat Number\t\tFood Menu" << endl;
259 | cout << temp_passenger->reservation_number << "\t\t\t\t" << temp_passenger->fname << "\t\t\t\t" << temp_passenger->lname << "\t\t\t\t" << temp_passenger->ID << "\t\t\t\t" << temp_passenger->phone_number << "\t\t\t\t" << temp_passenger->seat_number << "\t\t\t\t" << temp_passenger->food_menu << endl;
260 | break;
261 | }
262 | else
263 | {
264 | temp_passenger = temp_passenger->next;
265 | }
266 | }
267 | }
268 |
269 | void Flight :: get_booking_details()
270 | {
271 | temp_passenger = start;
272 | cout << "Reservation Number\t\tFirst Name\t\tLast Name\t\tID\t\tPhone Number\t\tSeat Number\t\tFood Menu" << endl;
273 | while(temp_passenger != NULL)
274 | {
275 | cout << temp_passenger->reservation_number << "\t\t\t\t" << temp_passenger->fname << "\t\t\t\t" << temp_passenger->lname << "\t\t\t\t" << temp_passenger->ID << "\t\t\t\t" << temp_passenger->phone_number << "\t\t\t\t" << temp_passenger->seat_number << "\t\t\t\t" << temp_passenger->food_menu << endl;
276 | temp_passenger = temp_passenger->next;
277 | }
278 | }
279 |
280 | void welcome()
281 | {
282 | std::cout << "\t\t|------------------------------------------------------------------|" << "\n";
283 | std::cout << "\t\t| |" << "\n";
284 | std::cout << "\t\t| WELCOME TO YRNCOLLO AIRLINE FLIGHT RESERVATION SYSTEM |" << "\n";
285 | std::cout << "\t\t| |" << "\n";
286 | std::cout << "\t\t|------------------------------------------------------------------|" << "\n";
287 | std::cout << "\t\t| Choose your option: |" << "\n";
288 | std::cout << "\t\t|------------------------------------------------------------------|" << "\n";
289 | std::cout << "\t\t| |" << "\n";
290 | std::cout << "\t\t| 1) BOOK TICKET |" << "\n";
291 | std::cout << "\t\t| |" << "\n";
292 | std::cout << "\t\t| 2) CANCEL TICKET |" << "\n";
293 | std::cout << "\t\t| |" << "\n";
294 | std::cout << "\t\t| 3) CHANGE RESERVATION |" << "\n";
295 | std::cout << "\t\t| |" << "\n";
296 | std::cout << "\t\t| 4) PASSENGER DETAILS |" << "\n";
297 | std::cout << "\t\t| |" << "\n";
298 | std::cout << "\t\t| 5) GET BOOKING DETAILS |" << "\n";
299 | std::cout << "\t\t| |" << "\n";
300 | std::cout << "\t\t| 6) EXIT |" << "\n";
301 | std::cout << "\t\t|------------------------------------------------------------------|" << "\n";
302 |
303 | int choice;
304 | do
305 | {
306 | cout<<"Enter your choice: ";
307 | cin>>choice;
308 | switch(choice)
309 | {
310 | case 1:system("CLS");
311 | flight.book_ticket();
312 | break;
313 | case 2:system("CLS");
314 | flight.cancel_ticket();
315 | break;
316 | case 3:system("CLS");
317 | flight.change_reservation();
318 | break;
319 | case 4:system("CLS");
320 | flight.passenger_details();
321 | break;
322 | case 5:system("CLS");
323 | flight.get_booking_details();
324 | break;
325 | case 6 : system("CLS");
326 | exit(0);
327 | break;
328 | default:system("CLS");
329 | cout<<"Invalid choice"<
2 | #include
3 | #include
4 | #include
5 | #include
6 | using namespace std;
7 | int total_saving_accounts = 0;
8 | int total_current_accounts = 0;
9 | class account
10 | {
11 | public :
12 | string name_of_account_holder;
13 | string name_of_joint_account_holder;
14 | long long int account_number;
15 | int balance;
16 | // int withdraw;
17 | // int deposit;
18 | string type_of_account;
19 | string pin;
20 | public :
21 | //In case of single holder account
22 | account(string accholdername,int bal,string typeofacc,string pc)
23 | {
24 | account_number = rand()%100000 + 1000000000;
25 | name_of_account_holder = accholdername;
26 | balance = bal;
27 | type_of_account = typeofacc;
28 | pin = pc;
29 | name_of_joint_account_holder = "No Joint Holder in this account";
30 | }
31 | //In case of multiple holder account
32 | account(string accholdername,string jointholdername,int bal,string typeofacc,string pc)
33 | {
34 | account_number = rand()%100000 + 1000000000;
35 | name_of_account_holder = accholdername;
36 | name_of_joint_account_holder = jointholdername;
37 | balance = bal;
38 | type_of_account = typeofacc;
39 | pin = pc;
40 | }
41 | };
42 | vectoraccts;
43 |
44 | void display_details(long long int accnum)
45 | {
46 | bool acc_exists = false;
47 | for(auto it : accts)
48 | {
49 | if(it.account_number==accnum)
50 | {
51 | acc_exists = true;
52 | cout<<"\nAccount Number : "<&accts)
66 | {
67 | system("cls");
68 | string accholder_name;
69 | cout<<"\nENTER YOUR DETAILS HERE : ";
70 | cout<<"\nName of Account Holder : ";
71 | cin>>accholder_name;
72 | string str;
73 | cout<<"\nDo you want to have joint holder account? Type YES/NO : ";
74 | cin>>str;
75 | string joint_holder;
76 | if(str=="YES")
77 | {
78 | cout<<"Enter the name of Joint Holder : ";
79 | cin>>joint_holder;
80 | }
81 | string pin;
82 | cout<<"\nEnter the pin : ";
83 | cin>>pin;
84 | string typeofacc;
85 | cout<<"\nEnter the type of account : ";
86 | int choice;
87 | cout<<"1 - Savings Account\n";
88 | cout<<"2 - Current Account\n";
89 | cout<<"Enter your choice here : ";
90 | cin>>choice;
91 | if(choice==1)
92 | typeofacc = "Savings";
93 | else
94 | typeofacc = "Current";
95 |
96 | int balance;
97 | cout<<"\nEnter the balance you want to have initially in your account : ";
98 | cin>>balance;
99 |
100 | //========SINGLE HOLDER ACCOUNT===========//
101 |
102 | //If it is savings account
103 | if(typeofacc=="Savings" && str == "YES"){
104 | account ob(accholder_name,joint_holder,balance,typeofacc,pin);
105 | total_saving_accounts++;
106 | accts.push_back(ob);
107 | std::cout << "\t\t|-----------------------------------------------|" << "\n";;
108 | std::cout << "\t\t| |" << "\n";
109 | std::cout << "\t\t| ACCOUNT CREATED SUCCESSFULLY |" << "\n";
110 | std::cout << "\t\t| |" << "\n";
111 | std::cout << "\t\t|-----------------------------------------------|" << "\n";
112 | display_details(ob.account_number);
113 | return true;
114 | }
115 | //If it is current account and balance is insufficient
116 | if(typeofacc=="Current" && balance < 10000 && str == "YES")
117 | {
118 | std::cout << "\t\t|-----------------------------------------------|" << "\n";;
119 | std::cout << "\t\t| INSUFFICIENT BALANCE |" << "\n";
120 | std::cout << "\t\t|-----------------------------------------------|" << "\n";
121 | return false;
122 | }
123 | //Current account with sufficient balance
124 | else{
125 | account ob(accholder_name,joint_holder,balance,typeofacc,pin);
126 | accts.push_back(ob);
127 | total_current_accounts++;
128 | std::cout << "\t\t|-----------------------------------------------|" << "\n";;
129 | std::cout << "\t\t| |" << "\n";
130 | std::cout << "\t\t| ACCOUNT CREATED SUCCESSFULLY |" << "\n";
131 | std::cout << "\t\t| |" << "\n";
132 | std::cout << "\t\t|-----------------------------------------------|" << "\n";
133 | display_details(ob.account_number);
134 | return true;
135 | }
136 |
137 |
138 | //========JOINT HOLDER ACCOUNT===========//
139 |
140 | //If it is savings account
141 | if(typeofacc=="Savings" && str == "NO"){
142 | account ob(accholder_name,balance,typeofacc,pin);
143 | total_saving_accounts++;
144 | accts.push_back(ob);
145 | std::cout << "\t\t|-----------------------------------------------|" << "\n";;
146 | std::cout << "\t\t| |" << "\n";
147 | std::cout << "\t\t| ACCOUNT CREATED SUCCESSFULLY |" << "\n";
148 | std::cout << "\t\t| |" << "\n";
149 | std::cout << "\t\t|-----------------------------------------------|" << "\n";
150 | display_details(ob.account_number);
151 | return true;
152 | }
153 | //If it is current account and balance is insufficient
154 | if(typeofacc=="Current" && balance < 10000 && str == "NO")
155 | {
156 | std::cout << "\t\t|-----------------------------------------------|" << "\n";;
157 | std::cout << "\t\t| INSUFFICIENT BALANCE |" << "\n";
158 | std::cout << "\t\t|-----------------------------------------------|" << "\n";
159 | return false;
160 | }
161 | //Current account with sufficient balance
162 | else{
163 | account ob(accholder_name,balance,typeofacc,pin);
164 | accts.push_back(ob);
165 | total_current_accounts++;
166 | std::cout << "\t\t|-----------------------------------------------|" << "\n";;
167 | std::cout << "\t\t| |" << "\n";
168 | std::cout << "\t\t| ACCOUNT CREATED SUCCESSFULLY |" << "\n";
169 | std::cout << "\t\t| |" << "\n";
170 | std::cout << "\t\t|-----------------------------------------------|" << "\n";
171 | display_details(ob.account_number);
172 | return true;
173 | }
174 | }
175 | long long int accnumber;
176 | bool change_pin()
177 | {
178 | long long int accnum;
179 | cout<<"Enter your account number : ";
180 | cin>>accnum;
181 | bool acc_exists = false;
182 | for(auto it : accts)
183 | {
184 | if(it.account_number==accnum)
185 | {
186 | acc_exists = true;
187 | string newpin;
188 | string oldpin;
189 | cout<<"Enter the old pin : ";
190 | cin>>oldpin;
191 | if(oldpin==it.pin)
192 | {
193 | cout<<"Enter new pin : ";
194 | cin>>newpin;
195 | it.pin = newpin;
196 | display_details(it.account_number);
197 | accnumber = it.account_number;
198 | return true;
199 | }
200 | else{
201 | cout<<"Invalid Pin. Try Again";
202 | return false;
203 | }
204 | }
205 | }
206 | if(acc_exists == false){
207 | cout<<"Account doesn't exists with given Account Number.";
208 | return false;
209 | }
210 | }
211 |
212 | bool deposit_into_account()
213 | {
214 | long long int accnum;
215 | cout<<"Enter your account number : ";
216 | cin>>accnum;
217 | bool acc_exists = false;
218 | for(auto it : accts)
219 | {
220 | if(it.account_number==accnum)
221 | {
222 | acc_exists = true;
223 | string pinfordepo;
224 | cout<<"Enter the pin : ";
225 | cin>>pinfordepo;
226 | if(pinfordepo==it.pin)
227 | {
228 | int deposit_amount;
229 | cout<<"Enter the amount you want to deposit : ";
230 | cin>>deposit_amount;
231 | it.balance = it.balance+deposit_amount;
232 | cout<<"Your Updated details : ";
233 | display_details(it.account_number);
234 | return true;
235 | }
236 | else{
237 | cout<<"Invalid Pin. Try Again";
238 | return false;
239 | }
240 | }
241 | }
242 | if(acc_exists == false){
243 | cout<<"Account doesn't exists with given Account Number.";
244 | return false;
245 | }
246 | }
247 |
248 |
249 |
250 | bool withdraw_from_account()
251 | {
252 | long long int accnum;
253 | cout<<"Enter your account number : ";
254 | cin>>accnum;
255 | bool acc_exists = false;
256 | for(auto it : accts)
257 | {
258 | if(it.account_number==accnum)
259 | {
260 | acc_exists = true;
261 | string pinfordepo;
262 | cout<<"Enter the pin : ";
263 | cin>>pinfordepo;
264 | if(pinfordepo==it.pin)
265 | {
266 | int withdrawl_amount;
267 | cout<<"Enter the amount you want to deposit : ";
268 | cin>>withdrawl_amount;
269 | if(it.balance-withdrawl_amount > 0)
270 | {
271 | it.balance = it.balance - withdrawl_amount;
272 | cout<<"Your Updated details : ";
273 | display_details(it.account_number);
274 | return true;
275 | }
276 | else{
277 | cout<<"Oooopssss!!!! Insufficient Balance";
278 | }
279 | }
280 | else{
281 | cout<<"Invalid Pin. Try Again";
282 | return false;
283 | }
284 | }
285 | }
286 | if(acc_exists == false){
287 | cout<<"Account doesn't exists with given Account Number.";
288 | return false;
289 | }
290 | }
291 |
292 | bool balance_inquiry()
293 | {
294 | long long int accnum;
295 | cout<<"Enter your account number : ";
296 | cin>>accnum;
297 | bool acc_exists = false;
298 | for(auto it : accts)
299 | {
300 | if(it.account_number==accnum)
301 | {
302 | cout<<"The balance in your account is : "<>accnum;
317 | bool acc_exists = false;
318 | int count = 0;
319 | for(auto it : accts)
320 | {
321 | count++;
322 | if(it.account_number==accnum)
323 | {
324 | accts.erase(accts.begin()+count);
325 | return true;
326 | }
327 | }
328 | if(acc_exists == false){
329 | cout<<"Account doesn't exists with given Account Number.";
330 | return false;
331 | }
332 | }
333 |
334 | bool view_account_details()
335 | {
336 | for(auto it : accts)
337 | {
338 | display_details(it.account_number);
339 | }
340 | return true;
341 | }
342 |
343 | void admin_menu()
344 | {
345 | int option;
346 | system("cls");
347 | std::cout << "\t\t|-----------------------------------------------|" << "\n";
348 | std::cout << "\t\t| Choose your option: |" << "\n";
349 | std::cout << "\t\t|-----------------------------------------------|" << "\n";
350 | std::cout << "\t\t| |" << "\n";
351 | std::cout << "\t\t| 1) View Total Number of Accounts |" << "\n";
352 | std::cout << "\t\t| |" << "\n";
353 | std::cout << "\t\t| 2) View Account Details |" << "\n";
354 | std::cout << "\t\t| |" << "\n";
355 | std::cout << "\t\t|-----------------------------------------------|" << "\n";
356 | cin>>option;
357 |
358 | switch(option)
359 | {
360 | case 1:
361 | cout<<"Total Number of Accounts : "<>choice;
400 | if(choice==1){
401 | bool ans = create_account(accts);
402 | }
403 | else if(choice==2)
404 | {
405 | bool pinchanged = change_pin();
406 | }
407 | else if(choice==3)
408 | {
409 | bool successfuldeposit = deposit_into_account();
410 | }
411 | else if(choice==4)
412 | {
413 | bool successfulwithdraw = withdraw_from_account();
414 | }
415 | else if(choice==5)
416 | {
417 | bool successinquiry = balance_inquiry();
418 | }
419 | else if(choice==6)
420 | {
421 | bool successful_close_account = close_account();
422 | }
423 | else if(choice==7)
424 | {
425 | long long int account_number;
426 | cout<<"Enter the account number for details to be displayed : ";
427 | cin>>account_number;
428 | display_details(account_number);
429 | }
430 | else if(choice==8)
431 | {
432 | exit(0);
433 | }
434 | }while(choice!=8);
435 |
436 | }
437 |
438 | void welcome()
439 | {
440 | std::cout << "\t\t|-----------------------------------------------|" << "\n";
441 | std::cout << "\t\t| |" << "\n";
442 | std::cout << "\t\t| WELCOME TO YRNCOLLO BANKING SYSTEM |" << "\n";
443 | std::cout << "\t\t| |" << "\n";
444 | std::cout << "\t\t|-----------------------------------------------|" << "\n";
445 | std::cout << "\t\t|\t Choose your option:\t |" << "\n";
446 | std::cout << "\t\t|-----------------------------------------------|" << "\n";
447 | std::cout << "\t\t| |" << "\n";
448 | std::cout << "\t\t|\t\t 1) ADMINISTRATOR |" << "\n";
449 | std::cout << "\t\t| |" << "\n";
450 | std::cout << "\t\t|\t\t 2) USER |" << "\n";
451 | std::cout << "\t\t| |" << "\n";
452 | std::cout << "\t\t|\t\t 3) EXIT |" << "\n";
453 | std::cout << "\t\t|-----------------------------------------------|" << "\n";
454 |
455 | int choice;
456 | std::cout << "\n\nEnter: ";
457 | std::cin >> choice;
458 | if(choice==1)
459 | admin_menu();
460 | else if(choice==2){
461 | user_menu();
462 | display_details(accnumber);
463 | }
464 | else if(choice==3)
465 | exit(0);
466 | else
467 | system("pause");
468 | }
469 | int main()
470 | {
471 | welcome();
472 | return 0;
473 | }
474 |
475 |
--------------------------------------------------------------------------------
/CODE_OF_CONDUCT.md:
--------------------------------------------------------------------------------
1 | # Contributor Covenant Code of Conduct
2 |
3 | ## Our Pledge
4 |
5 | We as members, contributors, and leaders pledge to make participation in our
6 | community a harassment-free experience for everyone, regardless of age, body
7 | size, visible or invisible disability, ethnicity, sex characteristics, gender
8 | identity and expression, level of experience, education, socio-economic status,
9 | nationality, personal appearance, race, religion, or sexual identity
10 | and orientation.
11 |
12 | We pledge to act and interact in ways that contribute to an open, welcoming,
13 | diverse, inclusive, and healthy community.
14 |
15 | ## Our Standards
16 |
17 | Examples of behavior that contributes to a positive environment for our
18 | community include:
19 |
20 | * Demonstrating empathy and kindness toward other people
21 | * Being respectful of differing opinions, viewpoints, and experiences
22 | * Giving and gracefully accepting constructive feedback
23 | * Accepting responsibility and apologizing to those affected by our mistakes,
24 | and learning from the experience
25 | * Focusing on what is best not just for us as individuals, but for the
26 | overall community
27 |
28 | Examples of unacceptable behavior include:
29 |
30 | * The use of sexualized language or imagery, and sexual attention or
31 | advances of any kind
32 | * Trolling, insulting or derogatory comments, and personal or political attacks
33 | * Public or private harassment
34 | * Publishing others' private information, such as a physical or email
35 | address, without their explicit permission
36 | * Other conduct which could reasonably be considered inappropriate in a
37 | professional setting
38 |
39 | ## Enforcement Responsibilities
40 |
41 | Community leaders are responsible for clarifying and enforcing our standards of
42 | acceptable behavior and will take appropriate and fair corrective action in
43 | response to any behavior that they deem inappropriate, threatening, offensive,
44 | or harmful.
45 |
46 | Community leaders have the right and responsibility to remove, edit, or reject
47 | comments, commits, code, wiki edits, issues, and other contributions that are
48 | not aligned to this Code of Conduct, and will communicate reasons for moderation
49 | decisions when appropriate.
50 |
51 | ## Scope
52 |
53 | This Code of Conduct applies within all community spaces, and also applies when
54 | an individual is officially representing the community in public spaces.
55 | Examples of representing our community include using an official e-mail address,
56 | posting via an official social media account, or acting as an appointed
57 | representative at an online or offline event.
58 |
59 | ## Enforcement
60 |
61 | Instances of abusive, harassing, or otherwise unacceptable behavior may be
62 | reported to the community leaders responsible for enforcement at
63 | .
64 | All complaints will be reviewed and investigated promptly and fairly.
65 |
66 | All community leaders are obligated to respect the privacy and security of the
67 | reporter of any incident.
68 |
69 | ## Enforcement Guidelines
70 |
71 | Community leaders will follow these Community Impact Guidelines in determining
72 | the consequences for any action they deem in violation of this Code of Conduct:
73 |
74 | ### 1. Correction
75 |
76 | **Community Impact**: Use of inappropriate language or other behavior deemed
77 | unprofessional or unwelcome in the community.
78 |
79 | **Consequence**: A private, written warning from community leaders, providing
80 | clarity around the nature of the violation and an explanation of why the
81 | behavior was inappropriate. A public apology may be requested.
82 |
83 | ### 2. Warning
84 |
85 | **Community Impact**: A violation through a single incident or series
86 | of actions.
87 |
88 | **Consequence**: A warning with consequences for continued behavior. No
89 | interaction with the people involved, including unsolicited interaction with
90 | those enforcing the Code of Conduct, for a specified period of time. This
91 | includes avoiding interactions in community spaces as well as external channels
92 | like social media. Violating these terms may lead to a temporary or
93 | permanent ban.
94 |
95 | ### 3. Temporary Ban
96 |
97 | **Community Impact**: A serious violation of community standards, including
98 | sustained inappropriate behavior.
99 |
100 | **Consequence**: A temporary ban from any sort of interaction or public
101 | communication with the community for a specified period of time. No public or
102 | private interaction with the people involved, including unsolicited interaction
103 | with those enforcing the Code of Conduct, is allowed during this period.
104 | Violating these terms may lead to a permanent ban.
105 |
106 | ### 4. Permanent Ban
107 |
108 | **Community Impact**: Demonstrating a pattern of violation of community
109 | standards, including sustained inappropriate behavior, harassment of an
110 | individual, or aggression toward or disparagement of classes of individuals.
111 |
112 | **Consequence**: A permanent ban from any sort of public interaction within
113 | the community.
114 |
115 | ## Attribution
116 |
117 | This Code of Conduct is adapted from the [Contributor Covenant][homepage],
118 | version 2.0, available at
119 | https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
120 |
121 | Community Impact Guidelines were inspired by [Mozilla's code of conduct
122 | enforcement ladder](https://github.com/mozilla/diversity).
123 |
124 | [homepage]: https://www.contributor-covenant.org
125 |
126 | For answers to common questions about this code of conduct, see the FAQ at
127 | https://www.contributor-covenant.org/faq. Translations are available at
128 | https://www.contributor-covenant.org/translations.
129 |
--------------------------------------------------------------------------------
/CONTRIBUTING.md:
--------------------------------------------------------------------------------
1 | ## How to contribute to the project
2 | 1. Fork the project: `In the top-right corner of the page, click Fork.`
3 | 2. Clone the project which you have just forked to your computer
4 | ```
5 | git clone https://github.com/YOUR_GITHUB_USERNAME/PROJECT_NAME
6 | ```
7 | 3. Make a new branch `(You can use issue, patch-number or your username as the branch name)`
8 | ```
9 | git checkout -b
10 | ```
11 | 4. Code and make your changes to the code
12 |
13 | 5. Stage your changes:
14 | ```
15 | git add FILENAMES
16 | ```
17 | 6. Commit:
18 | ```
19 | git commit -m "your message"
20 | ```
21 | 7. Push:
22 | ```
23 | git push origin
24 | ```
25 | 8. Once done navigate to your forked repo and click `Compare & Pull Request` button.
26 | * This button would bring you to a new page and now you can click on a green button `Create Pull Request`. After creating a Pull Request `(PR)` the moderators shall go through your code and merge to the main branch of the project.
27 |
28 |
29 | ---
30 | ### Happy Coding
31 |
32 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2023 yrncollo
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | ## How to contribute to the project
2 | 1. Fork the project: `In the top-right corner of the page, click Fork.`
3 | 2. Clone the project which you have just forked to your computer
4 | ```
5 | git clone https://github.com/YOUR_GITHUB_USERNAME/PROJECT_NAME
6 | ```
7 | 3. Make a new branch `(You can use issue, patch-number or your username as the branch name)`
8 | ```
9 | git checkout -b
10 | ```
11 | 4. Code and make your changes to the code
12 |
13 | 5. Stage your changes:
14 | ```
15 | git add FILENAMES
16 | ```
17 | 6. Commit:
18 | ```
19 | git commit -m "your message"
20 | ```
21 | 7. Push:
22 | ```
23 | git push origin
24 | ```
25 | 8. Once done navigate to your forked repo and click `Compare & Pull Request` button.
26 | * This button would bring you to a new page and now you can click on a green button `Create Pull Request`. After creating a Pull Request `(PR)` the moderators shall go through your code and merge to the main branch of the project.
27 |
28 | ---
29 |
30 |
31 |
32 | ## Projects Ideas
33 | ```
34 | 1. Banking system with all banking facilities like – deposit, withdrawal, foreign exchange to any currency, availability of loans for purchasing vehicles, apartments, houses, setting up business, education loan, management of ATMs and all other features.
35 | 2. Airline flight reservation system (online booking of tickets in different flights for different destinations all over the world, cancellation of tickets, clear display of cancellation amount, refund of amount after cancellation, showing availability of all flights, showing flights timings for all 7 days of a week, seats availability, seat selection for travelers by giving the complete layout of the seating arrangement inside the flights, food availability/non-availability inside the flights, change of travel dates and amount charged.)
36 | 3. Taxi/cab sharing
37 | 4. University education portal (providing all information about under-graduate, post graduate and doctoral programs offered, facilities available, location & map, fee structure in all the universities)
38 | 5. Online exam management system (with total security of identifying the students during exam, monitoring the students’ activities during the exam, selection of different questions for each student, development of a large question bank containing hundreds of questions in each subject considering all courses taught at the university)
39 | 6. Library management system
40 | 7. E-content management system
41 | 8. Plagiarism checker & file management system
42 | 9. Hotel reservation & management portal
43 | 10. Restaurant management
44 | 11. Healthcare consulting system (doctors with different specializations for consultation, hospitals with all facilities for treating different diseases & abroad - one stop portal for all consultations and treatments)
45 | 12. Electronic health record management system with builtin security
46 | 13. Pharmacy - medical store management
47 | 14. Blood bank system
48 | 15. Online shopping and delivery system (like amazon)
49 | 16. Online car shopping
50 | 17. Tourism portal
51 | 18. World tourism portal
52 | 19. Higher education abroad portal
53 | 20. Job search/recruitment portal
54 | 21. Company resource management system
55 | 22. Attendance monitoring system with fingerprints verification
56 | 23. Face recognition - based attendance checking system
57 | 24. Aircraft communication and monitoring system
58 | 25. Ticket booking management system for concert ceremonies
59 | 26. All store stock management (inventory control)
60 | 27. Multiplayer gaming applications
61 | 28. City traffic monitoring and control system
62 | 29. Police traffic violation reporting & control system
63 | 30. The marriage function hall booking & food/music arrangement system
64 | 31. Any vehicle (car, bus, heavy vehicles for parties, functions, family picnics, long distance travel) booking portal
65 | 32. Teacher assisted program writing environment for students
66 | 33. Doctors reservation system for patients
67 | 34. Bus reservation & tracking system
68 | 35. Railway booking and train tracking system
69 | 36. Warehouse management system
70 | 37. Courier tracking, cargo and freight transportation
71 | 38. Online code testing system
72 | 39. Online quiz system (with total security of identifying the students during the quiz, monitoring the students’ activities during the quiz, selection of different quiz questions for each student, development of a large quiz question bank containing hundreds of quiz questions in each subject considering all courses taught at the university)
73 | 40. Land/house/apartment rental & purchase portal
74 | 41. Housecleaning, plumbing, electricity service & maintenance system
75 | 42. Human organ transplantation management system
76 | 43. Covid-19 tracking, testing, treatment & hospital management system
77 | 44. Cryptocurrency trading portal (exchange) allowing trading of all crypto coins using security, confidentiality and authentication
78 | 45. Parking management system
79 | 46. Online food delivery system (linked to all restaurants in different districts in different regions in some country)
80 | ```
81 |
--------------------------------------------------------------------------------
/SECURITY.md:
--------------------------------------------------------------------------------
1 | # Security Policy
2 |
3 | ## Supported Versions
4 |
5 | Use this section to tell people about which versions of your project are
6 | currently being supported with security updates.
7 |
8 | | Version | Supported |
9 | | ------- | ------------------ |
10 | | 5.1.x | :white_check_mark: |
11 | | 5.0.x | :x: |
12 | | 4.0.x | :white_check_mark: |
13 | | < 4.0 | :x: |
14 |
15 | ## Reporting a Vulnerability
16 |
17 | Use this section to tell people how to report a vulnerability.
18 |
19 | Tell them where to go, how often they can expect to get an update on a
20 | reported vulnerability, what to expect if the vulnerability is accepted or
21 | declined, etc.
22 |
--------------------------------------------------------------------------------