diff --git a/Project_E-Commerce_App_V2.0/Loading_Page.h b/AliBazar 2.0/Loading_Page.h similarity index 100% rename from Project_E-Commerce_App_V2.0/Loading_Page.h rename to AliBazar 2.0/Loading_Page.h diff --git a/Project_E-Commerce_App_V2.0/Person.h b/AliBazar 2.0/Person.h similarity index 100% rename from Project_E-Commerce_App_V2.0/Person.h rename to AliBazar 2.0/Person.h diff --git a/Project_E-Commerce_App_V2.0/Products.h b/AliBazar 2.0/Products.h similarity index 100% rename from Project_E-Commerce_App_V2.0/Products.h rename to AliBazar 2.0/Products.h diff --git a/Project_E-Commerce_App_V2.0/User_Info.txt b/AliBazar 2.0/User_Info.txt similarity index 100% rename from Project_E-Commerce_App_V2.0/User_Info.txt rename to AliBazar 2.0/User_Info.txt diff --git a/Project_E-Commerce_App_V2.0/Validation.h b/AliBazar 2.0/Validation.h similarity index 100% rename from Project_E-Commerce_App_V2.0/Validation.h rename to AliBazar 2.0/Validation.h diff --git a/Project_E-Commerce_App_V2.0/main.cpp b/AliBazar 2.0/main.cpp similarity index 100% rename from Project_E-Commerce_App_V2.0/main.cpp rename to AliBazar 2.0/main.cpp diff --git a/AliBazar Project Version 1.0/.vs/AliBazar Project2/v16/.suo b/AliBazar Project Version 1.0/.vs/AliBazar Project2/v16/.suo new file mode 100644 index 0000000..3266640 Binary files /dev/null and b/AliBazar Project Version 1.0/.vs/AliBazar Project2/v16/.suo differ diff --git a/AliBazar Project Version 1.0/.vs/AliBazar Project2/v16/Browse.VC.db b/AliBazar Project Version 1.0/.vs/AliBazar Project2/v16/Browse.VC.db new file mode 100644 index 0000000..b22cd05 Binary files /dev/null and b/AliBazar Project Version 1.0/.vs/AliBazar Project2/v16/Browse.VC.db differ diff --git a/AliBazar Project Version 1.0/.vs/AliBazar Project2/v16/ipch/AutoPCH/25ac6b507a15f725/HEADER.ipch b/AliBazar Project Version 1.0/.vs/AliBazar Project2/v16/ipch/AutoPCH/25ac6b507a15f725/HEADER.ipch new file mode 100644 index 0000000..050ec35 Binary files /dev/null and b/AliBazar Project Version 1.0/.vs/AliBazar Project2/v16/ipch/AutoPCH/25ac6b507a15f725/HEADER.ipch differ diff --git a/AliBazar Project Version 1.0/.vs/AliBazar Project2/v16/ipch/AutoPCH/380502daccea7b84/BREADBAKERY.ipch b/AliBazar Project Version 1.0/.vs/AliBazar Project2/v16/ipch/AutoPCH/380502daccea7b84/BREADBAKERY.ipch new file mode 100644 index 0000000..dec2018 Binary files /dev/null and b/AliBazar Project Version 1.0/.vs/AliBazar Project2/v16/ipch/AutoPCH/380502daccea7b84/BREADBAKERY.ipch differ diff --git a/AliBazar Project Version 1.0/.vs/AliBazar Project2/v16/ipch/AutoPCH/6db4fd42415406af/WATER.ipch b/AliBazar Project Version 1.0/.vs/AliBazar Project2/v16/ipch/AutoPCH/6db4fd42415406af/WATER.ipch new file mode 100644 index 0000000..71bfe6e Binary files /dev/null and b/AliBazar Project Version 1.0/.vs/AliBazar Project2/v16/ipch/AutoPCH/6db4fd42415406af/WATER.ipch differ diff --git a/AliBazar Project Version 1.0/.vs/AliBazar Project2/v16/ipch/AutoPCH/8e2781322db96dc/LOADING.ipch b/AliBazar Project Version 1.0/.vs/AliBazar Project2/v16/ipch/AutoPCH/8e2781322db96dc/LOADING.ipch new file mode 100644 index 0000000..b7dc6d2 Binary files /dev/null and b/AliBazar Project Version 1.0/.vs/AliBazar Project2/v16/ipch/AutoPCH/8e2781322db96dc/LOADING.ipch differ diff --git a/AliBazar Project Version 1.0/.vs/AliBazar Project2/v16/ipch/AutoPCH/a22cc6a81c1f161e/VEGETABLES.ipch b/AliBazar Project Version 1.0/.vs/AliBazar Project2/v16/ipch/AutoPCH/a22cc6a81c1f161e/VEGETABLES.ipch new file mode 100644 index 0000000..0dfe8b3 Binary files /dev/null and b/AliBazar Project Version 1.0/.vs/AliBazar Project2/v16/ipch/AutoPCH/a22cc6a81c1f161e/VEGETABLES.ipch differ diff --git a/AliBazar Project Version 1.0/.vs/AliBazar Project2/v16/ipch/AutoPCH/b5fd7cda40dd182/MAIN.ipch b/AliBazar Project Version 1.0/.vs/AliBazar Project2/v16/ipch/AutoPCH/b5fd7cda40dd182/MAIN.ipch new file mode 100644 index 0000000..1851e46 Binary files /dev/null and b/AliBazar Project Version 1.0/.vs/AliBazar Project2/v16/ipch/AutoPCH/b5fd7cda40dd182/MAIN.ipch differ diff --git a/AliBazar Project Version 1.0/.vs/AliBazar Project2/v16/ipch/AutoPCH/dbbf3f24ff9ffb92/MAIN.ipch b/AliBazar Project Version 1.0/.vs/AliBazar Project2/v16/ipch/AutoPCH/dbbf3f24ff9ffb92/MAIN.ipch new file mode 100644 index 0000000..4b54737 Binary files /dev/null and b/AliBazar Project Version 1.0/.vs/AliBazar Project2/v16/ipch/AutoPCH/dbbf3f24ff9ffb92/MAIN.ipch differ diff --git a/Project_E-Commerce_App_V1.0/BreadBakery.h b/AliBazar Project Version 1.0/BreadBakery.h similarity index 100% rename from Project_E-Commerce_App_V1.0/BreadBakery.h rename to AliBazar Project Version 1.0/BreadBakery.h diff --git a/Project_E-Commerce_App_V1.0/Header.h b/AliBazar Project Version 1.0/Header.h similarity index 100% rename from Project_E-Commerce_App_V1.0/Header.h rename to AliBazar Project Version 1.0/Header.h diff --git a/Project_E-Commerce_App_V1.0/Loading.h b/AliBazar Project Version 1.0/Loading.h similarity index 100% rename from Project_E-Commerce_App_V1.0/Loading.h rename to AliBazar Project Version 1.0/Loading.h diff --git a/Project_E-Commerce_App_V1.0/Vegetables.h b/AliBazar Project Version 1.0/Vegetables.h similarity index 100% rename from Project_E-Commerce_App_V1.0/Vegetables.h rename to AliBazar Project Version 1.0/Vegetables.h diff --git a/Project_E-Commerce_App_V1.0/Water.h b/AliBazar Project Version 1.0/Water.h similarity index 100% rename from Project_E-Commerce_App_V1.0/Water.h rename to AliBazar Project Version 1.0/Water.h diff --git a/Project_E-Commerce_App_V1.0/main.cpp b/AliBazar Project Version 1.0/main.cpp similarity index 100% rename from Project_E-Commerce_App_V1.0/main.cpp rename to AliBazar Project Version 1.0/main.cpp diff --git a/AliBazar Project Version 3.0/.vs/AliBazar Project1/v16/.suo b/AliBazar Project Version 3.0/.vs/AliBazar Project1/v16/.suo new file mode 100644 index 0000000..a3ba081 Binary files /dev/null and b/AliBazar Project Version 3.0/.vs/AliBazar Project1/v16/.suo differ diff --git a/AliBazar Project Version 3.0/.vs/AliBazar Project1/v16/Browse.VC.db b/AliBazar Project Version 3.0/.vs/AliBazar Project1/v16/Browse.VC.db new file mode 100644 index 0000000..5de69e3 Binary files /dev/null and b/AliBazar Project Version 3.0/.vs/AliBazar Project1/v16/Browse.VC.db differ diff --git a/AliBazar Project Version 3.0/.vs/AliBazar Project1/v16/TestStore/0/000.testlog b/AliBazar Project Version 3.0/.vs/AliBazar Project1/v16/TestStore/0/000.testlog new file mode 100644 index 0000000..0fdfab8 Binary files /dev/null and b/AliBazar Project Version 3.0/.vs/AliBazar Project1/v16/TestStore/0/000.testlog differ diff --git a/AliBazar Project Version 3.0/.vs/AliBazar Project1/v16/TestStore/0/testlog.manifest b/AliBazar Project Version 3.0/.vs/AliBazar Project1/v16/TestStore/0/testlog.manifest new file mode 100644 index 0000000..e92ede2 Binary files /dev/null and b/AliBazar Project Version 3.0/.vs/AliBazar Project1/v16/TestStore/0/testlog.manifest differ diff --git a/AliBazar Project Version 3.0/.vs/AliBazar Project1/v16/ipch/AutoPCH/893fd1e325860f23/REGISTRATION.ipch b/AliBazar Project Version 3.0/.vs/AliBazar Project1/v16/ipch/AutoPCH/893fd1e325860f23/REGISTRATION.ipch new file mode 100644 index 0000000..dd78437 Binary files /dev/null and b/AliBazar Project Version 3.0/.vs/AliBazar Project1/v16/ipch/AutoPCH/893fd1e325860f23/REGISTRATION.ipch differ diff --git a/AliBazar Project Version 3.0/.vs/AliBazar Project1/v16/ipch/AutoPCH/9b34f6ce8b1377ec/USER_MENU.ipch b/AliBazar Project Version 3.0/.vs/AliBazar Project1/v16/ipch/AutoPCH/9b34f6ce8b1377ec/USER_MENU.ipch new file mode 100644 index 0000000..8e612fa Binary files /dev/null and b/AliBazar Project Version 3.0/.vs/AliBazar Project1/v16/ipch/AutoPCH/9b34f6ce8b1377ec/USER_MENU.ipch differ diff --git a/AliBazar Project Version 3.0/.vs/AliBazar Project1/v16/ipch/AutoPCH/bf6432c5350f855f/SOURCE.ipch b/AliBazar Project Version 3.0/.vs/AliBazar Project1/v16/ipch/AutoPCH/bf6432c5350f855f/SOURCE.ipch new file mode 100644 index 0000000..20b53e4 Binary files /dev/null and b/AliBazar Project Version 3.0/.vs/AliBazar Project1/v16/ipch/AutoPCH/bf6432c5350f855f/SOURCE.ipch differ diff --git a/AliBazar Project Version 3.0/.vs/AliBazar Project1/v16/ipch/AutoPCH/d58c6717e4e184a3/R_LOADINGOFMAINPAGE.ipch b/AliBazar Project Version 3.0/.vs/AliBazar Project1/v16/ipch/AutoPCH/d58c6717e4e184a3/R_LOADINGOFMAINPAGE.ipch new file mode 100644 index 0000000..19945e5 Binary files /dev/null and b/AliBazar Project Version 3.0/.vs/AliBazar Project1/v16/ipch/AutoPCH/d58c6717e4e184a3/R_LOADINGOFMAINPAGE.ipch differ diff --git a/AliBazar Project Version 3.0/.vs/AliBazar Project1/v16/ipch/AutoPCH/dc9ed044ab00fabe/PRODUCT_VEGETABLESFRUITS.ipch b/AliBazar Project Version 3.0/.vs/AliBazar Project1/v16/ipch/AutoPCH/dc9ed044ab00fabe/PRODUCT_VEGETABLESFRUITS.ipch new file mode 100644 index 0000000..d59a021 Binary files /dev/null and b/AliBazar Project Version 3.0/.vs/AliBazar Project1/v16/ipch/AutoPCH/dc9ed044ab00fabe/PRODUCT_VEGETABLESFRUITS.ipch differ diff --git a/AliBazar Project Version 3.0/.vs/AliBazar Project1/v16/ipch/AutoPCH/e761b67eca5b373d/PRODUCT_VEGETABLESFRUITS.ipch b/AliBazar Project Version 3.0/.vs/AliBazar Project1/v16/ipch/AutoPCH/e761b67eca5b373d/PRODUCT_VEGETABLESFRUITS.ipch new file mode 100644 index 0000000..fb2c71d Binary files /dev/null and b/AliBazar Project Version 3.0/.vs/AliBazar Project1/v16/ipch/AutoPCH/e761b67eca5b373d/PRODUCT_VEGETABLESFRUITS.ipch differ diff --git a/AliBazar Project Version 3.0/.vs/AliBazar Project1/v16/ipch/AutoPCH/eb8773e0541ddb49/MAIN.ipch b/AliBazar Project Version 3.0/.vs/AliBazar Project1/v16/ipch/AutoPCH/eb8773e0541ddb49/MAIN.ipch new file mode 100644 index 0000000..89f9947 Binary files /dev/null and b/AliBazar Project Version 3.0/.vs/AliBazar Project1/v16/ipch/AutoPCH/eb8773e0541ddb49/MAIN.ipch differ diff --git a/AliBazar Project Version 3.0/.vs/AliBazar Project1/v16/ipch/AutoPCH/ef4c7d0ec5fb59e1/MAIN.ipch b/AliBazar Project Version 3.0/.vs/AliBazar Project1/v16/ipch/AutoPCH/ef4c7d0ec5fb59e1/MAIN.ipch new file mode 100644 index 0000000..f4d2baa Binary files /dev/null and b/AliBazar Project Version 3.0/.vs/AliBazar Project1/v16/ipch/AutoPCH/ef4c7d0ec5fb59e1/MAIN.ipch differ diff --git a/AliBazar Project Version 3.0/.vs/AliBazar Project1/v16/ipch/AutoPCH/ef78e8de7946d1f5/A_REGISTRATION.ipch b/AliBazar Project Version 3.0/.vs/AliBazar Project1/v16/ipch/AutoPCH/ef78e8de7946d1f5/A_REGISTRATION.ipch new file mode 100644 index 0000000..c7e7a97 Binary files /dev/null and b/AliBazar Project Version 3.0/.vs/AliBazar Project1/v16/ipch/AutoPCH/ef78e8de7946d1f5/A_REGISTRATION.ipch differ diff --git a/AliBazar Project Version 3.0/.vs/AliBazar Project1/v16/ipch/AutoPCH/ff18a61526b8bf8d/PRODUCT_WATERBEVERAGES.ipch b/AliBazar Project Version 3.0/.vs/AliBazar Project1/v16/ipch/AutoPCH/ff18a61526b8bf8d/PRODUCT_WATERBEVERAGES.ipch new file mode 100644 index 0000000..b8e7f07 Binary files /dev/null and b/AliBazar Project Version 3.0/.vs/AliBazar Project1/v16/ipch/AutoPCH/ff18a61526b8bf8d/PRODUCT_WATERBEVERAGES.ipch differ diff --git a/AliBazar Project Version 3.0/.vs/Project_AliBazar_0.0/v16/.suo b/AliBazar Project Version 3.0/.vs/Project_AliBazar_0.0/v16/.suo new file mode 100644 index 0000000..5919c65 Binary files /dev/null and b/AliBazar Project Version 3.0/.vs/Project_AliBazar_0.0/v16/.suo differ diff --git a/AliBazar Project Version 3.0/.vs/Project_AliBazar_0.0/v16/Browse.VC.db b/AliBazar Project Version 3.0/.vs/Project_AliBazar_0.0/v16/Browse.VC.db new file mode 100644 index 0000000..cee3e63 Binary files /dev/null and b/AliBazar Project Version 3.0/.vs/Project_AliBazar_0.0/v16/Browse.VC.db differ diff --git a/AliBazar Project Version 3.0/.vs/Project_AliBazar_0.0/v16/ipch/AutoPCH/1438464640013e8/PASSWORD_VALI_ASTERISK.ipch b/AliBazar Project Version 3.0/.vs/Project_AliBazar_0.0/v16/ipch/AutoPCH/1438464640013e8/PASSWORD_VALI_ASTERISK.ipch new file mode 100644 index 0000000..8cff78a Binary files /dev/null and b/AliBazar Project Version 3.0/.vs/Project_AliBazar_0.0/v16/ipch/AutoPCH/1438464640013e8/PASSWORD_VALI_ASTERISK.ipch differ diff --git a/AliBazar Project Version 3.0/.vs/Project_AliBazar_0.0/v16/ipch/AutoPCH/29058fe79653b70e/VALIDATION.ipch b/AliBazar Project Version 3.0/.vs/Project_AliBazar_0.0/v16/ipch/AutoPCH/29058fe79653b70e/VALIDATION.ipch new file mode 100644 index 0000000..e42cb8e Binary files /dev/null and b/AliBazar Project Version 3.0/.vs/Project_AliBazar_0.0/v16/ipch/AutoPCH/29058fe79653b70e/VALIDATION.ipch differ diff --git a/AliBazar Project Version 3.0/.vs/Project_AliBazar_0.0/v16/ipch/AutoPCH/ce301cc931431e95/MAIN.ipch b/AliBazar Project Version 3.0/.vs/Project_AliBazar_0.0/v16/ipch/AutoPCH/ce301cc931431e95/MAIN.ipch new file mode 100644 index 0000000..cd000cb Binary files /dev/null and b/AliBazar Project Version 3.0/.vs/Project_AliBazar_0.0/v16/ipch/AutoPCH/ce301cc931431e95/MAIN.ipch differ diff --git a/Project_E-Commerce_App_V3.0/Loading_Page.h b/AliBazar Project Version 3.0/Loading_Page.h similarity index 100% rename from Project_E-Commerce_App_V3.0/Loading_Page.h rename to AliBazar Project Version 3.0/Loading_Page.h diff --git a/Project_E-Commerce_App_V3.0/Password_Vali_Asterisk.h b/AliBazar Project Version 3.0/Password_Vali_Asterisk.h similarity index 100% rename from Project_E-Commerce_App_V3.0/Password_Vali_Asterisk.h rename to AliBazar Project Version 3.0/Password_Vali_Asterisk.h diff --git a/Project_E-Commerce_App_V3.0/Person.h b/AliBazar Project Version 3.0/Person.h similarity index 100% rename from Project_E-Commerce_App_V3.0/Person.h rename to AliBazar Project Version 3.0/Person.h diff --git a/Project_E-Commerce_App_V3.0/Products.h b/AliBazar Project Version 3.0/Products.h similarity index 100% rename from Project_E-Commerce_App_V3.0/Products.h rename to AliBazar Project Version 3.0/Products.h diff --git a/Project_E-Commerce_App_V3.0/User_Info.txt b/AliBazar Project Version 3.0/User_Info.txt similarity index 100% rename from Project_E-Commerce_App_V3.0/User_Info.txt rename to AliBazar Project Version 3.0/User_Info.txt diff --git a/Project_E-Commerce_App_V3.0/Validation.h b/AliBazar Project Version 3.0/Validation.h similarity index 100% rename from Project_E-Commerce_App_V3.0/Validation.h rename to AliBazar Project Version 3.0/Validation.h diff --git a/Project_E-Commerce_App_V3.0/main.cpp b/AliBazar Project Version 3.0/main.cpp similarity index 100% rename from Project_E-Commerce_App_V3.0/main.cpp rename to AliBazar Project Version 3.0/main.cpp diff --git a/Project_Bank_Management_System/main.cpp b/Bank management system/BMS.cpp similarity index 77% rename from Project_Bank_Management_System/main.cpp rename to Bank management system/BMS.cpp index 11920f7..55e2c14 100644 --- a/Project_Bank_Management_System/main.cpp +++ b/Bank management system/BMS.cpp @@ -1,7 +1,6 @@ #include "Header.h" -int main() -{ +int main() { srand(time(0)); ::available = rand() % 200000; MainMenu(); @@ -11,14 +10,12 @@ int main() return 0; } -void MainMenu() -{ +void MainMenu() { system("color 9E"); char num; char choice; - do - { - + do { + bool checked = false; string checkName, checkPassword; accounts data; @@ -40,56 +37,48 @@ void MainMenu() cout << "\n Please enter your password:"; cout << "\n "; cin >> checkPassword; - for (int i = 0; i < ::increaments; i++) - { - - if (oldData[i].name == checkName && oldData[i].password == checkPassword) - { + for (int i = 0;i<::increaments; i++) { + + if (oldData[i].name == checkName && oldData[i].password == checkPassword) { ::accountNum = i; ::balance = oldData[i].balance; ::borrow = oldData[i].borrowed; checked = true; } + } - if (checked) - { - do - { + if (checked) { + do { system("CLS"); - cout << "\n Hello " << oldData[::accountNum].name << endl; + cout << "\n Hello "<> data.name; - cout << "\n Input your password without space"; + cout << "\n Input yuor password without space"; cout << "\n "; cin >> data.password; data.balance = 0; @@ -99,11 +88,19 @@ void MainMenu() case 51: break; default: - cout << "\n There is no such section"; + cout << "\n There is no such ssection"; cout << "\n Please try one more time"; break; } } while (choice != 51); + + + + cout << "\n "; } + + + + diff --git a/Project_Bank_Management_System/Header.h b/Bank management system/Header.h similarity index 100% rename from Project_Bank_Management_System/Header.h rename to Bank management system/Header.h diff --git a/Project_Bank_Management_System/Project3.exe b/Bank management system/Project3.exe similarity index 100% rename from Project_Bank_Management_System/Project3.exe rename to Bank management system/Project3.exe diff --git a/Project_Bank_Management_System/data.txt b/Bank management system/data.txt similarity index 100% rename from Project_Bank_Management_System/data.txt rename to Bank management system/data.txt diff --git a/Lab_01/01_hello_world.cpp b/Lab_01/01_hello_world.cpp deleted file mode 100644 index c5747c4..0000000 --- a/Lab_01/01_hello_world.cpp +++ /dev/null @@ -1,13 +0,0 @@ -// Program to print text on the console. -// cout -> console output. - -#include - -using namespace std; - -int main() -{ - cout << "Hello, World!" << endl; - system("pause"); - return 0; -} \ No newline at end of file diff --git a/Lab_01/02_take_user_input.cpp b/Lab_01/02_take_user_input.cpp deleted file mode 100644 index cefb170..0000000 --- a/Lab_01/02_take_user_input.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Program to print an integer entered by the user. -// cin -> console input. - -#include - -using namespace std; - -int main() -{ - int number; - cout << "Enter an integer: "; - cin >> number; - cout << "You entered: " << number << endl; - system("pause"); - return 0; -} \ No newline at end of file diff --git a/Lab_01/03_integer_operations.cpp b/Lab_01/03_integer_operations.cpp deleted file mode 100644 index 532c3f5..0000000 --- a/Lab_01/03_integer_operations.cpp +++ /dev/null @@ -1,19 +0,0 @@ -// Program to Add/Subtract/Multiply/Divide Two Integers. - -#include - -using namespace std; - -int main() -{ - int num1, num2; - cout << "Enter two integers: "; - cin >> num1 >> num2; - cout << "Sum: " << num1 + num2 << endl; - cout << "Difference: " << num1 - num2 << endl; - cout << "Product: " << num1 * num2 << endl; - cout << "Quotient: " << num1 / num2 << endl; - cout << "Remainder: " << num1 % num2 << endl; - system("pause"); - return 0; -} \ No newline at end of file diff --git a/Lab_01/04_integer_operations_v2.cpp b/Lab_01/04_integer_operations_v2.cpp deleted file mode 100644 index 27ab1c9..0000000 --- a/Lab_01/04_integer_operations_v2.cpp +++ /dev/null @@ -1,19 +0,0 @@ -// C++ Program to Add/Subtract/Multiply/Divide Two Integers entered by the user. - -#include - -using namespace std; - -int main() -{ - int num1, num2; - cout << "Enter two integers: "; - cin >> num1 >> num2; - cout << "Sum: " << num1 + num2 << endl; - cout << "Difference: " << num1 - num2 << endl; - cout << "Product: " << num1 * num2 << endl; - cout << "Quotient: " << num1 / num2 << endl; - cout << "Remainder: " << num1 % num2 << endl; - system("pause"); - return 0; -} \ No newline at end of file diff --git a/Lab_01/06_division.cpp b/Lab_01/06_division.cpp deleted file mode 100644 index 7ddd330..0000000 --- a/Lab_01/06_division.cpp +++ /dev/null @@ -1,20 +0,0 @@ -// C++ Program to Compute Quotient and Remainder. - -#include - -using namespace std; - -int main() -{ - int dividend, divisor, quotient, remainder; - cout << "Enter dividend: "; - cin >> dividend; - cout << "Enter divisor: "; - cin >> divisor; - quotient = dividend / divisor; - remainder = dividend % divisor; - cout << "Quotient = " << quotient << endl; - cout << "Remainder = " << remainder << endl; - system("pause"); - return 0; -} \ No newline at end of file diff --git a/Lab_01/13_swapping.cpp b/Lab_01/13_swapping.cpp deleted file mode 100644 index 76cd3fb..0000000 --- a/Lab_01/13_swapping.cpp +++ /dev/null @@ -1,24 +0,0 @@ -// Program to show swap of two no's without using third variable. - -#include -using namespace std; - -int main() { - float a, b; - - cout << "Enter first number: "; - cin >> a; - cout << "Enter second number: "; - cin >> b; - - a = a + b; - b = a - b; - a = a - b; - - cout << "We have swapped your numbers, result in below." << endl; - cout << "a = " << a << endl; - cout << "b = " << b << endl; - - system("pause"); - return 0; -} \ No newline at end of file diff --git a/Lab_01/README.md b/Lab_01/README.md deleted file mode 100644 index db51e23..0000000 --- a/Lab_01/README.md +++ /dev/null @@ -1,17 +0,0 @@ -# Practical Lab Assignment - Variables/Operators - -1. C++ Program to print "Hello, World!". -2. C++ Program to print an integer entered by the user. -3. C++ Program to Add/Subtract/Multiply/Divide Two Integers. -4. C++ Program to Add/Subtract/Multiply/Divide Two Integers entered by the user. -5. C++ Program to Add/Subtract/Multiply/Divide two Floating Point Numbers. -6. C++ Program to Compute Quotient and Remainder. -7. C++ Program to Calculate the Area and Circumference of a Circle. -8. C++ Program to Calculate the Area of a Scalene Triangle. -9. C++ Program to Calculate the Area of an Equilateral Triangle. -10. C++ Program to Calculate the Area of Right Angle Triangle. -11. C++ Program to Calculate the Area and Perimeter of a Rectangle. -12. C++ Program to Calculate the Area and Perimeter of a Square. -13. C++ Program to Find ASCII Value of a Character. -14. C++ Program to Find the Size of int, float, double, and char. -15. C++ Program to Swap Two Numbers. diff --git a/Lab_02/01_temperature_converter.cpp b/Lab_02/01_temperature_converter.cpp deleted file mode 100644 index 76eeda8..0000000 --- a/Lab_02/01_temperature_converter.cpp +++ /dev/null @@ -1,26 +0,0 @@ -// C++ program that converts between Celsius and Fahrenheit temperatures based on user input. - -#include - -using namespace std; - -int main() { - float temp; - char unit; - - cout << "Enter the temperature: "; - cin >> temp; - - cout << "Enter the unit (C/F): "; - cin >> unit; - - if (unit == 'C') { - cout << "The temperature in Fahrenheit is " << (temp * 9 / 5) + 32 << "F." << endl; - } else if (unit == 'F') { - cout << "The temperature in Celsius is " << (temp - 32) * 5 / 9 << "C." << endl; - } else { - cout << "Invalid unit." << endl; - } - - return 0; -} \ No newline at end of file diff --git a/Lab_02/02_odd_even.cpp b/Lab_02/02_odd_even.cpp deleted file mode 100644 index 5a04183..0000000 --- a/Lab_02/02_odd_even.cpp +++ /dev/null @@ -1,18 +0,0 @@ -// Program to find whether given number is even or odd. - -#include -using namespace std; - -int main() { - int a; - cout << "Enter the number: "; - cin >> a; - - if (a % 2 == 0) - cout << "Your number is Even!" << endl; - else - cout << "Your number is Odd!" << endl; - - system("pause"); - return 0; -} \ No newline at end of file diff --git a/Lab_02/03_negative_positive.cpp b/Lab_02/03_negative_positive.cpp deleted file mode 100644 index 0bf9966..0000000 --- a/Lab_02/03_negative_positive.cpp +++ /dev/null @@ -1,23 +0,0 @@ -// C++ Program to Check Whether a Number is Positive or Negative. - -#include - -using namespace std; - -int main() { - float number; - - cout << "Enter a number: "; - cin >> number; - - if (number > 0) { - cout << "The number is positive." << endl; - } else if (number < 0) { - cout << "The number is negative." << endl; - } else { - cout << "The number is zero." << endl; - } - - system("pause"); - return 0; -} \ No newline at end of file diff --git a/Lab_02/04_vowel_consonant.cpp b/Lab_02/04_vowel_consonant.cpp deleted file mode 100644 index 7c2421e..0000000 --- a/Lab_02/04_vowel_consonant.cpp +++ /dev/null @@ -1,22 +0,0 @@ -// C++ Program to Check Whether a Character is a Vowel or Consonant. - -#include - -using namespace std; - -int main() { - char c; - - cout << "Enter a character: "; - cin >> c; - - if (c == 'a' || c == 'e' || c == 'i' || c == 'o' || c == 'u' || - c == 'A' || c == 'E' || c == 'I' || c == 'O' || c == 'U') { - cout << "The character is a vowel." << endl; - } else { - cout << "The character is a consonant." << endl; - } - - system("pause"); - return 0; -} \ No newline at end of file diff --git a/Lab_02/README.md b/Lab_02/README.md deleted file mode 100644 index bbcb38b..0000000 --- a/Lab_02/README.md +++ /dev/null @@ -1,36 +0,0 @@ -# Practical Lab Assignment - Control Structures - if/else - -1. C++ program that converts between Celsius and Fahrenheit temperatures based on user input. You can also add conversions for Kelvin. -2. C++ Program to Check Whether a Number is Even or Odd. -3. C++ Program to Check Whether a Number is Positive or Negative. -4. C++ Program to Check Whether a Character is a Vowel or Consonant. -5. C++ Program to find the Largest Number Among Three Numbers. -6. C++ Program to find if the entered year is a leap year or not. -7. C++ program that allows the user to perform basic arithmetic operations (addition, subtraction, multiplication, division) on two numbers. You can also add error handling for division by zero. -8. BMI Calculator: Create a program that calculates a person's Body Mass Index (BMI) based on their weight and height input. Provide a classification of whether the person is underweight, normal weight, overweight, or obese. Use cin, cout. - Formula: bmi = weight / (height * height) - - | bmi < 18.5 | Underweight | - | --- | --- | - | bmi < 24.9 | Normal Weight | - | bmi < 29.9 | Overweight | - | Otherwise | Obese | -9. Nested condition - - Get the `age` and `membership_status` as user input. `membership_status` can be only `Y` or `y`. So, if the age is bigger or equal to 18 and if the user is a member of our shop, we provide a 10% discount, else we charge fully. - - Write a simple chatbot program using nested conditions. -10. Write a program to calculate taxes, with the following conditions: - - If the salary is less than $1500, then there are no taxes - - If the salary is from 1501 to 3000 $ (1501<= salary < 3000) then the tax should be 10% - - If the salary is from 3001 to 5000 $ (3001 <= salary < 5000) then the tax should be 20% - - If the salary is above $5000, then the tax should be 30% - - **Hint: Formula for finding tax (salary * percentage) / 100** - - You must output: - - Tax percentage - - Salary after taxes -11. Switch - - Program to use `switch` statement. Display Monday to Sunday. - - Program to display arithmetic operator using switch case. -12. C++ Program to Find all Roots of a Quadratic equation. -13. C++ Program to Check Whether a Character is an Alphabet or not. diff --git a/Lab_03/README.md b/Lab_03/README.md deleted file mode 100644 index 62940ce..0000000 --- a/Lab_03/README.md +++ /dev/null @@ -1,13 +0,0 @@ -# Practical Lab Assignment - Control Structures - Loop/Switch - -1. Program to calculate sum of numbers from m to n. - - Hint: Input two numbers m and n. Find sum of all numbers from m to n. For example m=3 and n=8 then sum will be 3 + 4 + 5 + 6 + 7 + 8 = 33. -2. Program to print Fibonacci series up to 100. - - Hint: Fibonacci Series is 1, 1, 2, 3, 5, 8, 13, 21, .... -3. Program to input a number and then calculate sum of its digits. - - Hint: let number = 562. Then you should print 5 + 6 + 2 = 13. -4. Program to find whether given number is a prime number or not. -5. Program to display sum of series 1 + 1/2 + 1/3 + ... + 1/n. -6. Program to display series and find sum of 1 + 3 + 5 + ... + n. -7. Program to use switch statement. Display Monday to Sunday. -8. Program to display arithmetic operator using switch case \ No newline at end of file diff --git a/Lab_04/README.md b/Lab_04/README.md deleted file mode 100644 index 351329d..0000000 --- a/Lab_04/README.md +++ /dev/null @@ -1,38 +0,0 @@ -# Practical Lab Assignment - Control Structure - Nested Loop - -1. Program to print stars Sequence1. - ``` - * - ** - *** - **** - ***** - ``` -2. Program to print stars Sequence2. - ``` - * - ** - *** - **** - ***** - ``` -3. Program to print star Sequences3. - ``` - * - *** - ***** - ``` -4. Program to print Sequence4. - ``` - * - ** - *** - **** - ***** - ***** - **** - *** - ** - * - ``` -5. Write a program to add first seven terms of the following series using for loop: `1/!1+ 2/!2 + 3/!3 + ...` \ No newline at end of file diff --git a/Lab_04/Source.cpp b/Lab_04/Source.cpp deleted file mode 100644 index 4b0092b..0000000 --- a/Lab_04/Source.cpp +++ /dev/null @@ -1,19 +0,0 @@ -// Lab assignment #5 -// ID:U1910049; Name: Zokirov Rustam -// Control structure - Nested Loop - -#include -using namespace std; -int main() -{ - for (int i = 1; i <= 5; i++) - { - for (int j = 1; j <= i; j++) - { - cout << "*"; - } - cout << endl; - } - system("pause"); - return 0; -} \ No newline at end of file diff --git a/Lab_04/Source1.cpp b/Lab_04/Source1.cpp deleted file mode 100644 index b027509..0000000 --- a/Lab_04/Source1.cpp +++ /dev/null @@ -1,22 +0,0 @@ -// Lab assignment #5 -// ID:U1910049; Name:Zokirov Rustam -// Control structure - Nested Loop - -#include -using namespace std; -int main2() -{ - for (int i = 1; i <= 5; i++) - { - for (int j = 5; j >= 1; j--) - { - if (i >= j) - cout << "*"; - else - cout << " "; - } - cout << endl; - } - system("pause"); - return 0; -} \ No newline at end of file diff --git a/Lab_04/Source2.cpp b/Lab_04/Source2.cpp deleted file mode 100644 index eee2058..0000000 --- a/Lab_04/Source2.cpp +++ /dev/null @@ -1,24 +0,0 @@ -// Lab assignment #5 -// ID:U1910049; Name:Zokirov Rustam -// Control structure - Nested Loop - -#include -using namespace std; -int main3() -{ - for (int i = 1; i <= 5; i += 2) - { - for (int j = 3; j >= i; j -= 2) - { - cout << " "; - } - - for (int j = 1; j <= i; j++) - { - cout << "*"; - } - cout << endl; - } - system("pause"); - return 0; -} \ No newline at end of file diff --git a/Lab_04/Source3.cpp b/Lab_04/Source3.cpp deleted file mode 100644 index 4300bc7..0000000 --- a/Lab_04/Source3.cpp +++ /dev/null @@ -1,27 +0,0 @@ -// Lab assignment #5 -// ID:U1910049; Name:Zokirov Rustam -// Control structure - Nested Loop - -#include -using namespace std; -int main4() -{ - for (int i = 1; i <= 5; i++) - { - for (int j = 1; j <= i; j++) - { - cout << "*"; - } - cout << endl; - } - for (int i = 1; i <= 5; i++) - { - for (int j = 5; j >= i; j--) - { - cout << "*"; - } - cout << endl; - } - system("pause"); - return 0; -} \ No newline at end of file diff --git a/Lab_04/Source4.cpp b/Lab_04/Source4.cpp deleted file mode 100644 index a93f326..0000000 --- a/Lab_04/Source4.cpp +++ /dev/null @@ -1,18 +0,0 @@ -// Lab assignment #5 -// ID:U1910049; Name: Zokirov Rustam -// A program to add first seven terms of the following series using for loop:1 / !1 + 2 / !2 + 3 / !3 + ... - -#include -using namespace std; -int main5() -{ - float sum = 0, fact = 1; - for (int i = 1; i <= 7; i++) - { - fact = fact * i; - sum += i / fact; - } - cout << "Sum is : " << sum << endl; - system("pause"); - return 0; -} \ No newline at end of file diff --git a/Lab_05/README.md b/Lab_05/README.md deleted file mode 100644 index 8a33ee6..0000000 --- a/Lab_05/README.md +++ /dev/null @@ -1,6 +0,0 @@ -# Practical Lab Assignment - -1. Write a program to calculate area of a circle using functions. -2. Write a program to swap two values using functions. -3. Write a program to convert time to minutes using functions. (input 3 variables namely hours, minutes and seconds. Convert everything into minutes.) -4. Write a program to sum the series up to n (Input n) \ No newline at end of file diff --git a/Lab_05/Source.cpp b/Lab_05/Source.cpp deleted file mode 100644 index 2f54011..0000000 --- a/Lab_05/Source.cpp +++ /dev/null @@ -1,29 +0,0 @@ -// Practical Lab Assignment-7(Week 9) -// ID:U1910049 Name: Rustam Zokirov -// Program to calculate area of a circle using functions - -#include -#include //C++ libriry which is including "pow" and PI=3.14 -using namespace std; - -float area(float radius) -{ // function for calculating the area - float area; - area = (atan(1) * 4) * (pow(radius, 2)); //"atan" is the function which is finding the PI=3.14 - return area; -} // end function "area" - -int main1() -{ - float radius; - cout << "Please enter the radius of circle: "; - cin >> radius; // inputing the radius - - if (radius > 0) - cout << area(radius) << endl; // calling the function "area" for calculating the Area of Circle - - else - cout << "INVALID Radius!" << endl; // if radius is a negative number or equal to zero the program will show "Invalid radius" - system("pause"); - return 0; -} \ No newline at end of file diff --git a/Lab_05/Source1.cpp b/Lab_05/Source1.cpp deleted file mode 100644 index 34c9a9e..0000000 --- a/Lab_05/Source1.cpp +++ /dev/null @@ -1,18 +0,0 @@ -// Practical Lab Assignment-7(Week 9) -// ID:U1910049 Name: Rustam Zokirov -// Program to swap two values using functions - -#include -#include //C++ libriry which is calculating "pow" and PI=3.14 -using namespace std; - -int main2() -{ - int a, b; - cout << "Enter two numbers: "; - cin >> a >> b; - swap(a, b); // C++ function to swap two numbers - cout << a << " & " << b << endl; // swap is the function which is contained in c++ ==> - //==> there is no need to open new function to swap - return 0; -} // ending the function main \ No newline at end of file diff --git a/Lab_05/Source2.cpp b/Lab_05/Source2.cpp deleted file mode 100644 index cbe76ff..0000000 --- a/Lab_05/Source2.cpp +++ /dev/null @@ -1,27 +0,0 @@ -// Practical Lab Assignment-7(Week 9) -// ID:U1910049 Name: Rustam Zokirov -// Program to convert into minutes - -#include -using namespace std; - -double converting1(double hours, double minutes, double seconds) -{ // initializing the variables - return (hours * 60) + (minutes) + (seconds / 60); // returning the function "converting" -} - -int main3() -{ - double hours, minutes, seconds; - cout << "Hours: "; - cin >> hours; // Prompting user for data and - cout << "Minutes: "; // reading 3 numbers for user - cin >> minutes; //! - cout << "Seconds: "; - cin >> seconds; - if (hours >= 0 && minutes >= 0 && seconds >= 0) // the program will be executed when all numbers are positive - cout << "The time in minutes is " << converting1(hours, minutes, seconds) << endl; - else // calling function to calculate the main function - cout << "Invalid inputs!" << endl; - return 0; // indicates that the program will ended successfully -} \ No newline at end of file diff --git a/Lab_05/Source3.cpp b/Lab_05/Source3.cpp deleted file mode 100644 index 0f007cb..0000000 --- a/Lab_05/Source3.cpp +++ /dev/null @@ -1,32 +0,0 @@ -// Practical Lab Assignment-7(Week 9) -// ID:U1910049 Name: Rustam Zokirov -// Program to sum the series up to n - -#include -#include -using namespace std; - -double qwerty(double n, double sum, double fact) -{ - for (int i = 1; i <= n; i++) - { - fact = fact * i; // calculating the factorial of the numbers - sum += (pow(i, i) / (fact)); // executing the sum of numbers - } //"pow" is raising 'i' to power 'i' - return sum; // -} // end function qwerty - -int main() -{ - double n; - double sum = 0; - double fact = 1; - cout << "Please ebter the number: "; // outputing and inputing the number - cin >> n; - if (n > 0) // the program will calculate the sum when numbers is positive - cout << "Sum is: " << qwerty(n, sum, fact) << endl; // calling the function qwerty - else // when the number is negative 'else' will work - cout << "INVALID INPUT!" << endl; - system("pause"); - return 0; -} // ending the program successfully \ No newline at end of file diff --git a/Lab_06/README.md b/Lab_06/README.md deleted file mode 100644 index e9b4c37..0000000 --- a/Lab_06/README.md +++ /dev/null @@ -1,22 +0,0 @@ -# Practical Lab Assignment - -``` -1. Write a program to calculate area of following figures using function overloading: -Circle -Rectangle -Triangle -Square -(Hint: 1. create 4 functions with same name area. 2. Each function to calculate area of one figure.) - -2. Write a program to calculate circumference of the following figures using function overloading: -Circle -Rectangle -Triangle -Square - -3. Write a program using function overloading: -To find largest among three integers. -To find largest among three floating point numbers. - -4. Convert function template for problem 3. -``` \ No newline at end of file diff --git a/Lab_06/Source.cpp b/Lab_06/Source.cpp deleted file mode 100644 index 374947f..0000000 --- a/Lab_06/Source.cpp +++ /dev/null @@ -1,485 +0,0 @@ -#include -#include -#include -#include -using namespace std; - -void first() -{ - // when the case 1 in the main menu - for (int l = 0; l < 120; l++) - { - cout << "="; - } - cout << endl; - cout << "\t\t\t\t***Area of Geometrical figures.***\n"; - for (int l = 0; l < 120; l++) - { - cout << "="; - } - cout << endl; - cout << " [1] Circle" << endl; - cout << " [2] Rectangle" << endl; - cout << " [3] Triangle" << endl; - cout << " [4] Square" << endl; - cout << " [5] EXIT to MAIN MENU" << endl; - cout << endl; -} - -void second() -{ - // when the case 2 in the main menu - for (int l = 0; l < 120; l++) - { - cout << "="; - } - cout << endl; - cout << "\t\t\t\t***Circumference of Geometrical figures.***\n"; - for (int l = 0; l < 120; l++) - { - cout << "="; - } - cout << endl; - cout << " [1] Circle" << endl; - cout << " [2] Rectangle" << endl; - cout << " [3] Triangle" << endl; - cout << " [4] Square" << endl; - cout << " [5] EXIT to MAIN MENU" << endl; - cout << endl; -} - -void third() -{ - // when the case 3 in the main menu - for (int l = 0; l < 120; l++) - { - cout << "="; - } - cout << endl; - cout << "\t\t\t\t***Find the Largest number among 3 numbers.***\n"; - for (int l = 0; l < 120; l++) - { - cout << "="; - } - cout << endl; -} - -/////Overloading functions for the Finding AREA///// -double area(double radius) -{ // overloading function for finding the area of circle - double area1; - double input_radius; - area1 = 3.141592653589793238463 * pow(radius, 2); - cout << "The area of Circle: " << area1 << endl; - cout << endl; - return area1; -} - -double area(double sideA, double sideB) -{ // overloading function for finding the area of rectengle - double area2; - area2 = sideA * sideB; - cout << "The area of Rectangle: " << area2 << endl; - cout << endl; - return area2; -} - -double area(double sidetriangleA, double sidetriangleB, double sidetriangleC) -{ // overloading function for finding the area of triangle - double area3, S; - S = (sidetriangleA + sidetriangleB + sidetriangleC) / 2; - area3 = sqrt(S * (S - sidetriangleA) * (S - sidetriangleB) * (S - sidetriangleC)); - cout << "The area of triangle: " << area3 << endl; - cout << endl; - return area3; -} - -float area(float sidesquare) ////overloading function for finding the area of square -{ - float area4; - area4 = pow(sidesquare, 2); - cout << "The area of square: " << area4 << endl; - cout << endl; - return area4; -} - -//////Overloading functions for finding CIRCUMFERENCE/////// -double circumference(double radius) -{ - double circumference1; - double input_radius; - circumference1 = 2 * 3.141592653589793238463 * radius; - cout << "The circumference of Circle: " << circumference1 << endl; - cout << endl; - return circumference1; -} - -double circumference(double sideA, double sideB) -{ - double circumference2; - circumference2 = 2 * (sideA + sideB); - cout << "The circumference of Rectangle: " << circumference2 << endl; - cout << endl; - return circumference2; -} - -double circumference(double sidetriangleA, double sidetriangleB, double sidetriangleC) -{ - double circumference3; - circumference3 = sidetriangleA + sidetriangleB + sidetriangleC; - cout << "The circumference of triangle: " << circumference3 << endl; - cout << endl; - return circumference3; -} - -float circumference(float sidesquare) -{ - float circumference4; - circumference4 = 4 * sidesquare; - cout << "The circumference of square: " << circumference4 << endl; - cout << endl; - return circumference4; -} - -// Overloading function for inputing 3 in the main menu -int findlargest(int n1, int n2, int n3) -{ - - if (n1 >= n2 && n1 >= n3) - { - cout << "Largest number: " << n1 << endl; - } - if (n2 >= n1 && n2 >= n3) - { - cout << "Largest number: " << n2 << endl; - } - if (n3 >= n1 && n3 >= n2) - { - cout << "Largest number: " << n3 << endl; - } - - return n1, n2, n3; -} - -double findlargest(double n1, double n2, double n3) -{ - - if (n1 >= n2 && n1 >= n3) - { - cout << "Largest number: " << n1 << endl; - } - if (n2 >= n1 && n2 >= n3) - { - cout << "Largest number: " << n2 << endl; - } - if (n3 >= n1 && n3 >= n2) - { - cout << "Largest number: " << n3 << endl; - } - else if (n1 == n2 == n3) - cout << "Largest number : " << n3 << endl; - return n1, n2, n3; -} - -// overloading function with templates -template -T Large(T n1, T n2, T n3) -{ - if (n1 >= n2 && n1 >= n3) - { - cout << "Largest number: " << n1 << endl; - } - if (n2 >= n1 && n2 >= n3) - { - cout << "Largest number: " << n2 << endl; - } - if (n3 >= n1 && n3 >= n2) - { - cout << "Largest number: " << n3 << endl; - } - else if (n1 == n2 == n3) - cout << "Largest number : " << n3 << endl; - - return n1, n2, n3; -} - -/////////////////////////////////////***STARTING POINT***//////////////////////////////////////////////////// -int main() -{ - system("color 3E"); - int numberforoperation = 0; - double radius1; - double sideA, sideB; - double sidetriangleA, sidetriangleB, sidetriangleC; - float sidesquare; - double n1, n2, n3; - - for (int l = 0; l < 120; l++) - { - cout << "="; - } - cout << endl; - cout << "\t\t\t\t\tHello! Welcome to the main menu.\n"; - cout << "\t\t WARNING!!! Enter only numbers!!! And the 'y/n' when you will be asked!\n"; - for (int l = 0; l < 120; l++) - { - cout << "="; - } - cout << endl; - cout << "\t[1] Area of Geometrical Figures.\n"; - cout << "\t[2] Circumference of geometrical figures.\n"; - cout << "\t[3] Find the largest number.\n"; - cout << "\t[4] finding the largest number with function template.\n"; - cout << "\t[5] EXIT\n"; - cout << endl; -b: - cout << " Please enter the number of operation you would like to execute: "; - cin >> numberforoperation; - if (numberforoperation > 0 && numberforoperation < 6) - { - system("cls"); - switch (numberforoperation) - { - case 1: // first11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111 - first(); - int firstfirst; - f: - cout << " Choose one figure: "; - cin >> firstfirst; - if (firstfirst > 0 && firstfirst < 6) - { - system("cls"); // ends the main menu - switch (firstfirst) // firstfirst - { - system("cls"); // ends the main menu - case 1: - cout << "\t\t\t\t***CIRCLE***\n"; - a: - cout << "Enter the radius of the circle: "; - cin >> radius1; - if (radius1 > 0) - { - area(radius1); - first(); - goto f; - } - else - goto a; - break; - - case 2: - cout << "\t\t\t\t***RECTANGLE***\n"; - c: - cout << "Enter the height of rectangle: "; - cin >> sideA; - cout << "Enter the width of the rectangle: "; - cin >> sideB; - cout << endl; - if (sideA > 0 && sideB > 0) - { - area(sideA, sideB); - - first(); - goto f; - } - else - goto c; - break; - case 3: - cout << "\t\t\t\t***TRIANGLE***" << endl; - d: - cout << "Enter the first side of the triangle: "; - cin >> sidetriangleA; - cout << "Enter the second side of the triangle: "; - cin >> sidetriangleB; - cout << "Enter the third side of the triangle: "; - cin >> sidetriangleC; - cout << endl; - if (sidetriangleA > 0 && sidetriangleB > 0 && sidetriangleC > 0 && sidetriangleC < sidetriangleA + sidetriangleB && sidetriangleA < sidetriangleB + sidetriangleC && sidetriangleB < sidetriangleC + sidetriangleA) - { - area(sidetriangleA, sidetriangleB, sidetriangleC); - - first(); - goto f; - } - else - goto d; - break; - case 4: - cout << "\t\t\t\t***Square***" << endl; - e: - cout << "Enter the side of square: "; - cin >> sidesquare; - if (sidesquare > 0) - { - area(sidesquare); - - first(); - goto f; - } - else - goto e; - break; - case 5: - { - main(); - break; - } - default: - break; - } - break; - } - else - goto f; - break; - - case 2: // second2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222 - second(); - int secondsecond; - g: - cout << " Choose one figure: "; - cin >> secondsecond; - if (secondsecond > 0 && secondsecond < 6) - { - system("cls"); // ends the main menu - switch (secondsecond) // firstfirst - { - system("cls"); // ends the main menu - case 1: - cout << "\t\t\t\t***CIRCLE***\n"; - h: - cout << "Enter the radius of the circle: "; - cin >> radius1; - if (radius1 > 0) - { - circumference(radius1); - second(); - goto g; - } - else - goto h; - break; - - case 2: - cout << "\t\t\t\t***RECTANGLE***\n"; - j: - cout << "Enter the height of rectangle: "; - cin >> sideA; - cout << "Enter the width of the rectangle: "; - cin >> sideB; - cout << endl; - if (sideA > 0 && sideB > 0) - { - circumference(sideA, sideB); - second(); - goto g; - } - else - goto j; - break; - case 3: - cout << "\t\t\t\t***TRIANGLE***" << endl; - d1: - cout << "Enter the first side of the triangle: "; - cin >> sidetriangleA; - cout << "Enter the second side of the triangle: "; - cin >> sidetriangleB; - cout << "Enter the third side of the triangle: "; - cin >> sidetriangleC; - cout << endl; - if (sidetriangleA > 0 && sidetriangleB > 0 && sidetriangleC > 0 && sidetriangleC < sidetriangleA + sidetriangleB && sidetriangleA < sidetriangleB + sidetriangleC && sidetriangleB < sidetriangleC + sidetriangleA) - { - circumference(sidetriangleA, sidetriangleB, sidetriangleC); - second(); - goto g; - } - else - goto d1; - break; - - case 4: - cout << "\t\t\t\t***Square***" << endl; - e1: - cout << "Enter the side of square: "; - cin >> sidesquare; - if (sidesquare > 0) - { - circumference(sidesquare); - second(); - goto g; - } - else - goto e1; - break; - case 5: - main(); - break; - default: - break; - } - break; - } - else - goto g; - break; - /////////////////////////////////////////////////////////////////////////////////////////////////////////// - case 3: // third333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333 - third(); - cout << "\t\t\tPlease enter 3 numbers to compare.\n\t\t\tYou can write even an integer or decimal number. For example: 123, 12.123, 0,123 \n"; - x: - cout << endl; - cout << "Enter the first number: "; - cin >> n1; - cout << "Enter the second number: "; - cin >> n2; - cout << "Enter the third number: "; - cin >> n3; - findlargest(n1, n2, n3); - char quit; - cout << "Do you want to try again(y/n)? "; - if (cin >> quit && quit == 'y') // when user will input 'y' the code will again ask you to input a 3 numbers - goto x; // when it will be 'n' the code will go to the main menu - else - { - system("cls"); - main(); - } - break; - - ///////////////////////////////////////////////////////////////////////////////////////////////////////////// - case 4: // four4444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444 - third(); - cout << "\t\t\tPlease enter 3 numbers to compare.\n\t\t\tYou can write even an integer or decimal number. For example: 123, 12.123, 0,123 \n"; - qw: - cout << endl; - cout << "Enter the first number: "; - cin >> n1; - cout << "Enter the second number: "; - cin >> n2; - cout << "Enter the third number: "; - cin >> n3; - findlargest(n1, n2, n3); - char quit2; - cout << "Do you want to try again(y/n)? "; // when user will input 'y' the code will again ask you to input a 3 numbers - if (cin >> quit2 && quit2 == 'y') // when it will be 'n' the code will go to the main menu - goto qw; - else - { - system("cls"); - main(); - } - break; // breaking the case 4 of the main menu - default: - break; // breaking the default - } - } - else - goto b; - system("pause"); - return 0; -} - -// bad practices with goto -// never use it next time -// Rustam_Z diff --git a/Lab_07/README.md b/Lab_07/README.md deleted file mode 100644 index 43f5d15..0000000 --- a/Lab_07/README.md +++ /dev/null @@ -1,6 +0,0 @@ -# Practical Lab Assignment - -1. Calculate the x^y (power) using recursion. -2. Find sum of natural numbers using recursion. -3. Display Fibonacci Series Using Recursion. -4. Find G.C.D for two integers using recursion. \ No newline at end of file diff --git a/Lab_07/fibonacci.cpp b/Lab_07/fibonacci.cpp deleted file mode 100644 index 78ebca3..0000000 --- a/Lab_07/fibonacci.cpp +++ /dev/null @@ -1,28 +0,0 @@ -#include - -using namespace std; - -int fibonacci(int num) -{ // new function 'fibonacci' for calculating fibonacci series - if (num <= 1) - { - return num; - } - else - { - return (fibonacci(num - 1) + fibonacci(num - 2)); - } -} -int main() -{ - cout << "\t\t\t***Program to calculate the sum of natural numbers using recursion***" << endl; - cout << "Enter how many numbers would you like to output : "; - int num; - cin >> num; - cout << "Fibonnaci Series: "; // inputing the quantity of numbers - for (int i = 0; i < num; i++) // for loop for displaying series - cout << " " << fibonacci(i); // calling function - cout << endl; - system("pause"); - return 0; -} \ No newline at end of file diff --git a/Lab_07/gcd.cpp b/Lab_07/gcd.cpp deleted file mode 100644 index 8535f78..0000000 --- a/Lab_07/gcd.cpp +++ /dev/null @@ -1,25 +0,0 @@ -#include - -using namespace std; - -int gcd(int x, int y) -{ - if (x == 0 || y == 0) - return y, x; // will input non-zero number when even one number input in zero - if (x == y) - return x; // will return first number when both of the numbers are equal - if (x > y) - return gcd(x - y, y); // when first number is greater than second - if (y > x) - return gcd(x, y - x); // when second number is greater than first -} - -int main4() -{ - cout << "\t\t\t***Program to calculate the G.C.D for two integers using recursion.***" << endl; - cout << "Please enter two integers: " << endl; - int x, y; - cin >> x >> y; - cout << "The G.C.D of " << x << "and " << y << " is " << gcd(x, y); // calling function in the main function - return 0; -} \ No newline at end of file diff --git a/Lab_07/power.cpp b/Lab_07/power.cpp deleted file mode 100644 index d3a9bf1..0000000 --- a/Lab_07/power.cpp +++ /dev/null @@ -1,24 +0,0 @@ -#include -#include - -using namespace std; - -long long int power(long long int x, long long int y) -{ - if (y == 0) - return 1; - else - return x * power(x, y - 1); -} - -int main1() -{ - cout << "\t\t\t***Program to calculate the x^y using recursion***" << endl; - int x, y; - cout << "Please enter the numbers x^y: "; - cin >> x >> y; // inpuing the interval of the numbers - cout << "Result: " << power(x, y); // calling function 'power' - cout << endl; - system("pause"); - return 0; -} \ No newline at end of file diff --git a/Lab_07/sum.cpp b/Lab_07/sum.cpp deleted file mode 100644 index 619dd91..0000000 --- a/Lab_07/sum.cpp +++ /dev/null @@ -1,21 +0,0 @@ -#include - -using namespace std; - -long long int sum(long long int n) -{ // fuction called 'sum' foe calculating the sum of the natural numbers - if (n == 0) - return 0; // will return '0' when number will come to 0 - else - return n + sum(n - 1); // using recursion -} - -int main2() -{ - cout << "\t\t\t***Program to calculate the sum of natural numbers using recursion***" << endl; - int num; - cout << "Please enter the interval: "; - cin >> num; // inpuing the interval of the numbers - cout << "The sum is : " << sum(num); // calling function 'sum' - return 0; -} \ No newline at end of file diff --git a/Lab_08/README.md b/Lab_08/README.md deleted file mode 100644 index e4eb6fa..0000000 --- a/Lab_08/README.md +++ /dev/null @@ -1,12 +0,0 @@ -# Practical Lab Assignment - Arrays - -1. Write a program to display an array. -2. Write a program to find average of array elements. -3. Write a program to merge to sorted arrays. - ``` - a1[10] = [25, 27, 32, 98] - a2[10] = [12, 23, 28, 51, 72, 85, 97] - then a3[20] should be equal to = [12, 23, 25, 27, 28, 32, 51, 72, 85, 97, 98] - ``` -4. Write a program to insert an element to an array. -5. Write a program to delete an element from an array. \ No newline at end of file diff --git a/Lab_08/deleting.cpp b/Lab_08/deleting.cpp deleted file mode 100644 index 89ad759..0000000 --- a/Lab_08/deleting.cpp +++ /dev/null @@ -1,34 +0,0 @@ -#include -using namespace std; - -int main() -{ - int a[10]; - int n = 10; - cout << "Input numbers for into arrays." << endl; - for (int i = 0; i < n; i++) - { - cout << "a[" << i << "] = "; // input array - cin >> a[i]; - } - int value; - int position; - cout << "Enter value which you want to delete: "; - cin >> value; - for (int i = 0; i < n; i++) - { // finding the position - if (value == a[i]) - position = i; - } - for (int i = position; i < n; i++) - { // incrementing the array elements into 1 - a[i] = a[i + 1]; - } - n = n - 1; - for (int i = 0; i < n; i++) - { - cout << "a[" << i << "] =" << a[i] << endl; // output arrays with correct order - } - a[9] = 0; - return 0; -} \ No newline at end of file diff --git a/Lab_09/Pascal2.cpp b/Lab_09/Pascal2.cpp deleted file mode 100644 index 5c792e3..0000000 --- a/Lab_09/Pascal2.cpp +++ /dev/null @@ -1,31 +0,0 @@ -#include -using namespace std; -int main1() -{ - cout << "\t\t\tPascal's triangle\n"; - int row = 0, col = 0; - int a[7][7] = {}; - a[0][0] = 1; // giving the value for the array with address a[0][0] - for (row = 0; row < 7; row++) // rows - { - for (col = 0; col <= row; col++) // columns - { - // code for the borders of the triangle - // giving to then the value 1 - if (col == 0 || row == col) - { - a[row][col] = 1; - cout << " " << a[row][col]; - } - // code for the finding the values for the inside numbers of the triangle - else - { - a[row][col] = a[row - 1][col - 1] + a[row - 1][col]; - cout << " " << a[row][col]; - } - } - cout << endl; - } - system("pause"); - return 0; -} \ No newline at end of file diff --git a/Lab_09/README.md b/Lab_09/README.md deleted file mode 100644 index 7d6276f..0000000 --- a/Lab_09/README.md +++ /dev/null @@ -1,14 +0,0 @@ -# Practical Lab Assignment - Arrays - -1. Write a program to generate Pascal’s triangle. - ``` - 1 - 1 1 - 1 2 1 - 1 3 3 1 - 1 4 6 4 1 - 1 5 10 10 5 1 - 1 6 15 20 15 6 1 - ``` -2. Write a menu driven program to read and display an m × n matrix. Also find the sum, transpose and product of two m × n matrices. -3. In a small company there are five salesman. Each salesman is supposed to sell three products. Write a program using 2D array to print the total sales by each salesman and total sales of each item. \ No newline at end of file diff --git a/Lab_10/README.md b/Lab_10/README.md deleted file mode 100644 index dfde558..0000000 --- a/Lab_10/README.md +++ /dev/null @@ -1,41 +0,0 @@ -# Practical Lab Assignment - Introduction to class and object with `set()` and `get()` methods - -**Note: In class diagram + for public, - for private.** - -1. Define a class student with the following specification. - ``` - Student - --- - - Student_ID: String - - Student_Name: String - - OOP2_Score: double - - Maths_Score: double - - English_Score: double - - Total_Score: double - --- - - ctotal(): Function to calculate eng + math + OOP-2 with double return type. - + Takedata(): Function to accept values for student id, Student Name, eng, OOP-2, maths and invoke ctotal() to calculate total. - + Showdata(): Function to display all the data members on the screen. - ``` - -2. Write C++ header file Employee.h with class Employee with following details. - - ``` - Employee - --- - - Employee_ID: String - - Employee_Name: String - - No_of_Hours_Work: int - - Rate_per_Hour: int - --- - + setEmployee_ID(String) - + getEmployee_ID(): String - + setEmployee_Name(String) - + getEmployee_Name(): String - + setNo_of_Hours_Work(int) - + getNo_of_Hours_Work(): int - + setRate_per_Hour(int) - + getRate_per_Hour(): int - + getTotal_Monthly_Salary(): double - ``` - Write C++ menu driven program to get employee details, display employee details, and display monthly salary details of employee. diff --git a/Lab_11/README.md b/Lab_11/README.md deleted file mode 100644 index 7f0d2e3..0000000 --- a/Lab_11/README.md +++ /dev/null @@ -1,63 +0,0 @@ -# Practical Lab Assignment - Separation of the interface from implementation constructors and destructors - -**Note: In class diagram + for public, - for private.** - -### Program 1 -The class Person with private attributes name(string) and age(int). - -The class contains three functions. -- One with no parameter (for initializing default value). -- With two parameter (one parameter with default value). -- Function to display the data. - -``` -Person ---- -- Name: String -- Age: int ---- -+ Display() - + Person() - + Person(a: int) -``` - -### Program 2 -Construct a class to hold personnel records class name is Records. Use the following data members, and keep them private: -``` -string name; -float salary; -string date_of_birth; -``` -Create two constructors, one to initialize the record with its necessary values and one default. - -Create member functions to alter the individual’s name, salary, and date of birth. - -Create two objects use one object to refer member function through pointer and other object will be accessing through dot operator. - - -### Program 3 -Write a class Account that represents your bank account. -- It contains information like name(string), account number(string) and balance(float). (All are private) -- Add constructors and destructors. -- Create some objects, -- Write a code to display message when it is created and similarly display message when it will be destroyed. - - -### Program 4 -Write C++ header file Triangle.h with class Triangle with data members and member functions as per following class diagram. In Triangle.h file only implement get and set methods. (Consider right angle Triangle) -``` -Triangle ---- -- Height: double -- Base: double ---- -<> + Triangle(double, double) -<> +~ Triangle() # +~ stands for destructor -+ getHeight(): double -+ setHeight(double) -+ getBase(): double -+ setBase(double) -+ getArea(): double -+ getPerimeter(): double -``` -Write C++ program to include header file Triangle.h in your program. Implement constructor (with default value for height and width will be 0), getArea() and getPerimeter() member functions of Class Triangle and write menu driven program to get Height and Width details, display measurement (Area and Perimeter) of Triangle object. \ No newline at end of file diff --git a/Lab_11/Source.cpp b/Lab_11/Source.cpp deleted file mode 100644 index d6c26b4..0000000 --- a/Lab_11/Source.cpp +++ /dev/null @@ -1,274 +0,0 @@ -#include -#include - -using namespace std; - -// Program #1 -class Person -{ -private: - string name; - int age; - -public: - Person() - { // default constructor - age = 17; - name = "Rustam"; - } - Person(int x) - { - age = x; - name = "Rustam"; - } - void Display() - { - cout << "Name: " << name << endl; - cout << "Age: " << age << endl; - } -}; - -// Program #2 -class Records -{ -private: - string name; - float salary; - string date_of_birth; - -public: - Records() - { - name = "Rustam"; - salary = 1234; - date_of_birth = "12.34.5678"; - } - Records(string name1, float salary1, string date_of_birth1) - { - name = name1; - salary = salary1; - date_of_birth = date_of_birth1; - } - void Display() - { - cout << endl; - cout << "Name: " << name << endl; - cout << "Salary: " << salary << endl; - cout << "Date of Birth: " << date_of_birth << endl; - } - void alert_name() - { - cout << "New name: "; - cin >> name; - } - void alert_salary() - { - cout << "New salary: "; - cin >> salary; - } - void alert_date() - { - cout << "New Date of Birth: "; - cin >> date_of_birth; - } -}; - -// Program #3 -class Account -{ -public: - Account() - { - cout << "Object is being Created" << endl; - name = "Rustam"; - number = "123456789"; - balance = 12345; - } - ~Account() - { - cout << "Object is being Deleted" << endl; - } - void Display() - { - cout << "Name: " << name << endl - << "Number: " << number << endl - << "Balance: " << balance << endl; - } - -private: - string name; - string number; - float balance; -}; - -// Program #4 -class Rectangle -{ -private: - double height; - double width; - -public: - Rectangle() - { - height = 5; - width = 5; - } - - Rectangle(double height2, double width2) - { - height = height2; - width = width2; - } - void setHeight(double a) - { - height = a; - } - double getHeight() - { - return height; - } - void setWidth(double b) - { - width = b; - } - double getWidht() - { - return width; - } - double getArea() - { - return width * height; - } - double getPerimeter() - { - return 2 * (width + height); - } -}; - -void main_menu_view() -{ - cout << "Main menu: \n"; - cout << "[1] Person's info\n"; - cout << "[2] Records\n"; - cout << "[3] Account\n"; - cout << "[4] Triangle\n"; - cout << "[0] Exit\n"; - cout << "Your Choice: "; -} - -int main() -{ - - string user_choise; - main_menu_view(); - cin >> user_choise; - - // main_menu_validation_check - if (user_choise == "1") - { - system("cls"); - int x; - cout << "Input Age: "; - cin >> x; - Person person1, person2(x); - person1.Display(); - cout << endl; - person2.Display(); - } - else if (user_choise == "2") - { - system("cls"); - cout << "Records: " << endl; - string name; - float salary; - string date_of_birth; - cout << "Name: "; - cin >> name; - cout << "Salary: "; - cin >> salary; - cout << "Date of birth: "; - cin >> date_of_birth; - - Records record1, record2(name, salary, date_of_birth); - record1.Display(); - record2.Display(); - cout << endl; - - Records *ptr = &record1; - ptr->alert_name(); - ptr->alert_salary(); - ptr->alert_date(); - - record1.Display(); - record2.Display(); - } - else if (user_choise == "3") - { - system("cls"); - Account a; - a.Display(); - a.~Account(); - } - else if (user_choise == "4") - { - system("cls"); - Rectangle r; - double width1, height1; - - cout << "Enter the width fo the rectangle: "; - cin >> width1; - cout << "Enter the height fo the rectangle: "; - cin >> height1; - - Rectangle r2(height1, width1); - - r2.setHeight(height1); - r2.setWidth(width1); - - system("cls"); - - int user_choice_1; - /*int qwerty; - cin >> qwerty;*/ - while (user_choice_1 >= 1) - { - cout << "Rectangle: \n"; - cout << "[1] Area\n"; - cout << "[2] Perimeter\n"; - cout << "[0] Exit\n"; - cin >> user_choice_1; - switch (user_choice_1) - { - case 1: - system("cls"); - cout << "The Area is: (Default Constructor (5,5)) : " << r.getArea() << endl - << endl; - cout << "The Area is: (Parametric Constructor) : " << r2.getArea() << endl; - cout << endl; - - break; - case 2: - system("cls"); - cout << "The Perimeter is: (Default Constructor(5,5) : " << r.getPerimeter() << endl - << endl; - cout << "The Perimeter is: (Parametric Constructor) : " << r2.getPerimeter() << endl; - break; - case 0: - break; - } - } - } - else if (user_choise == "0") - { - return 0; - } - else - { - system("cls"); - cout << "Please try again !!!\n"; - main(); - } - - return 0; -} diff --git a/Lab_12/README.md b/Lab_12/README.md deleted file mode 100644 index bf175bc..0000000 --- a/Lab_12/README.md +++ /dev/null @@ -1,48 +0,0 @@ -# Practical Lab Assignment - Const member function, friend function, composition, friend functions and `this` pointer - -**Note: In class diagram + for public, - for private.** - - -### Program 1 -Define a class FullName and Player with the following specifications: - -``` -FullName ---- -- FirstName: string -- MiddleName: string -- LastName: string ---- -<> + FullName() -<> +~ FullName() -+ setFirstName(string) -+ getFirstName(): string -+ setMiddleName(string) -+ getMiddleName(): string -+ setLastName(string) -+ getLastName(): string -``` -``` -Player ---- --Player_ID: string --Player_Name: FullName --Matches_Played: int --Goals_Scored: int ---- -<> + Player() -<> +~ Player() -+ setPlayer_ID(string) -+ getPlayer_ID(): string -+ setMatches_Played(int) -+ getMatches_Played(): int -+ setGoals_Scored(int) -+ getGoals_Scored(): int -+ setPlayer_Name(FullName) -+ getPlayer_Name() -<> + Increase_GoalsScored(Player, int) -``` - -`Increase_GoalsScored(int)` is friend function for Player: This function will increase Goal_scored by some int every time when called. - -Write C++ create object pointer(through new) to Class Player and menu driven program to add player details (allocate memory for object and get player details), display player details, increase player goal scored delete player from memory. \ No newline at end of file diff --git a/Lab_13/README.md b/Lab_13/README.md deleted file mode 100644 index 8c02ab7..0000000 --- a/Lab_13/README.md +++ /dev/null @@ -1,36 +0,0 @@ -# Practical Lab Assignment - Operator Overloading - -### Program 1 -Define a class DayTime: -``` -private: -int hour, minute, second; -public: - • parameterized constructor to initialize value - • int getHour() const{ return hour; } - • int getMinute() const { return minute; } - • int getSecond() const { return second; } - • int asSeconds() const // Daytime in seconds - • overload increment operator to increment the value of seconds. - • Overload decrement operator to decrement the value of minutes. -``` -Write a menu driven program and create following menu options: -1. To Display Time. -2. To Display Time in Seconds. -3. To Increment seconds. -4. To decrements minutes. -0. To exit. - -### PRogram 2 -Define a class Dollar: -``` -private: - float currency, mktrate, offrate -public: - • float getDollar() { return currency in dollar } - • float getMarketSoums() { return currency in soums } - • float getofficialSoums() { return currency in soums } - • void setRates() { // input current date market and official rates } - • overload operator "<<" to print the details of a Dollar. -``` -Inside main declare one object and show the results similar to Program 1. diff --git a/Lab_14/README.md b/Lab_14/README.md deleted file mode 100644 index 484aeb5..0000000 --- a/Lab_14/README.md +++ /dev/null @@ -1,27 +0,0 @@ -# Practical Lab Assignment - Binary Operator Overloading - -### Program 1 -``` -Create a class Rectangle. -Private members of class Rectangle: Length, breadth. -Create Member function: - Public: - double getArea() - void setLength(double) - void setBreadth(double) -``` -Declare overloading function use **(+)** operator to add two Rectangle objects. -In the `main()` function set rectangle length, breadth with member functions and use area function to print area of each rectangle. -Then declare a third object use overloading function to get area of third object. - -### Program 2 -``` -Create a class Distance. -Private members of class Distance: Kilometer, meter. -Create default constructor and parameter constructor. -Create Member function: - void showDistance() -``` -Declare overloading function use **(==)** operator to compare two distances. -In the `main()` function set Distance kilometer, meter and use show distance to print of each distance. -Then use overloading function to get difference of two distances. diff --git a/Lab_15/README.md b/Lab_15/README.md deleted file mode 100644 index 6a26dac..0000000 --- a/Lab_15/README.md +++ /dev/null @@ -1,55 +0,0 @@ -# Practical Lab Assignment - Inheritance - -### Program 1 -Imagine a publishing company that markets both book and audio cassette version of its works. Create a class Publication that stores the `title` (a string) and `price` (type float) of a publication. - -From this class derive two classes: -- `Book`, which adds a page count (type int). -- `Tape`, which add playing time in minutes (type float). - -Each of these three classes should have: -- `getdata()` function to display its data -- `setdata()` function to get its data from the user at the keyboard. - -Write a main() program to test the Book and Tape classes by creating instances of them, asking the user to fill with data with `setdata()`, and then displaying the data with `getdata()`. - -### Program 2 -Assume that a bank maintains two kinds of accounts for customers, one called as saving and the other called as current account. - -The saving account provides interest and withdrawal facilities but no cheque book facility. - -The current account provides cheque book facility but no interest. Current account holders should also maintain a minimum balance and if the balance falls below this level a service charge is imposed. - -Create a class `ACCOUNT` that stores customer name, account number and type of account. - -From this derive the classes `CURR_ACCT` and `SAV_ACCT` to make them more specific to their requirements. - -Do not use any constructors. Use member functions to initialize the class members. Include necessary member functions in order to achieve all the tasks: - -Design a menu based program where user selects the type of account and perform the following tasks: -- Accept deposit from a customer and update the balance. -- Display the balance. -- Compute and deposit interest. -- Permit withdrawal and update the balance. -- Check for the minimum balance, impose penalty, necessary and upload the balance. - -``` -CURR_ACCT: ---- -amount, penalty ---- -Deposit() – will deposit the money and update amount -Balance() - will display the balance of account -Withdraw() – will allow to withdraw from account (check if withdrawal amount is less than balance and update balance) -Penalty() – apply penalty of USD 2 for maintaining balance less than 100 USD -``` -``` -SAV_ACCT: ---- -amount ---- -Deposit() – will deposit the money and update amount -Balance() - will display the balance of account -Compute_Interest() – calculate interest based on given condition [ROI is 4% per annum] -Withdraw() – will allow to withdraw from account (check if withdrawal amount is less than balance and update balance) -``` diff --git a/Lab_18/README.md b/Lab_18/README.md deleted file mode 100644 index 3980592..0000000 --- a/Lab_18/README.md +++ /dev/null @@ -1,26 +0,0 @@ -# Practical Lab Assignment - Virtual function - -### Program 1 -Create a base class called shape. - -Use this class to store two double type values that could be used to compute the area of figures. - -Add to the base class, a member function: -``` -get_data(): to initialize base class data members. -display_area(): to compute and display area of figures. -``` -Make display area as a virtual function and override this function into the derived classes to suit their requirements. - -Derive two classes called triangle and rectangle from the base shape. - -Using these three classes, design a program that will accept dimension of a triangle or a rectangle interactively, and display the area. - -(Remember the two values given as input will be treated as length of two sides in case of rectangles, and as base and heights in the case of triangles.) - -### Program 1a -Extend the above program to display area of circles. - -This requires addition of a new derived class ‘circle’ that computes the area of a circle. - -Remember, for a circle we need only one value its radius, but the get_data function in the base class requires two values to be passed. diff --git a/Lab_19/README.md b/Lab_19/README.md deleted file mode 100644 index 4e6c202..0000000 --- a/Lab_19/README.md +++ /dev/null @@ -1,13 +0,0 @@ -# Practical Lab Assignment - File Handling - -1. Create two file “one.txt” and “two.txt” which contains first 10 even numbers and first ten multiples of 5 respectively; Read the two files, find the sum of all the number of these two files and store it in the variable TOTAL. Write this value in third file named “total.txt”. - -2. A file contains a list of telephone numbers in the following form: - ``` - John 23456 - Ahmed 9876 - ... ... - ``` - The names contain only one word and the names and telephone numbers are separated by white spaces. Write a program to read the file and output the list in the two columns. - -3. Enter 20 numbers in a file named “Numbers.txt”. Ask user to enter any number and search if it exists in the file or not. diff --git a/Lab_20/README.md b/Lab_20/README.md deleted file mode 100644 index 33fe6f2..0000000 --- a/Lab_20/README.md +++ /dev/null @@ -1,10 +0,0 @@ -# Practical Lab Assignment - File Handling Operations - -Create a class Person with two private members name and telephone number - -Write a program that will create a data file containing name and telephone numbers of person. Use a class object to store each set of data. Read the file contents and display it on screen. -- Write an interactive menu driven program that will access the file created in program no. 1 and implement the following tasks: -- Determine the telephone number of the specified person. -- Determine the name if telephone number is known. -- Delete a record. -- Add a record to a specific position. diff --git a/Labirint Game/.vs/Labirint Game/v16/.suo b/Labirint Game/.vs/Labirint Game/v16/.suo new file mode 100644 index 0000000..474999e Binary files /dev/null and b/Labirint Game/.vs/Labirint Game/v16/.suo differ diff --git a/Labirint Game/.vs/Labirint Game/v16/Browse.VC.db b/Labirint Game/.vs/Labirint Game/v16/Browse.VC.db new file mode 100644 index 0000000..be2719e Binary files /dev/null and b/Labirint Game/.vs/Labirint Game/v16/Browse.VC.db differ diff --git a/Labirint Game/.vs/Labirint Game/v16/ipch/AutoPCH/c448c5622eb8295a/MAIN.ipch b/Labirint Game/.vs/Labirint Game/v16/ipch/AutoPCH/c448c5622eb8295a/MAIN.ipch new file mode 100644 index 0000000..7a70703 Binary files /dev/null and b/Labirint Game/.vs/Labirint Game/v16/ipch/AutoPCH/c448c5622eb8295a/MAIN.ipch differ diff --git a/Project_Labirint_Game/olaf-game.cpp b/Labirint Game/olaf-game.cpp similarity index 100% rename from Project_Labirint_Game/olaf-game.cpp rename to Labirint Game/olaf-game.cpp diff --git a/Project_Labirint_Game/sfml/bin/openal32.dll b/Labirint Game/sfml/bin/openal32.dll similarity index 100% rename from Project_Labirint_Game/sfml/bin/openal32.dll rename to Labirint Game/sfml/bin/openal32.dll diff --git a/Project_Labirint_Game/sfml/bin/sfml-audio-2.dll b/Labirint Game/sfml/bin/sfml-audio-2.dll similarity index 100% rename from Project_Labirint_Game/sfml/bin/sfml-audio-2.dll rename to Labirint Game/sfml/bin/sfml-audio-2.dll diff --git a/Project_Labirint_Game/sfml/bin/sfml-audio-d-2.dll b/Labirint Game/sfml/bin/sfml-audio-d-2.dll similarity index 100% rename from Project_Labirint_Game/sfml/bin/sfml-audio-d-2.dll rename to Labirint Game/sfml/bin/sfml-audio-d-2.dll diff --git a/Project_Labirint_Game/sfml/bin/sfml-graphics-2.dll b/Labirint Game/sfml/bin/sfml-graphics-2.dll similarity index 100% rename from Project_Labirint_Game/sfml/bin/sfml-graphics-2.dll rename to Labirint Game/sfml/bin/sfml-graphics-2.dll diff --git a/Project_Labirint_Game/sfml/bin/sfml-graphics-d-2.dll b/Labirint Game/sfml/bin/sfml-graphics-d-2.dll similarity index 100% rename from Project_Labirint_Game/sfml/bin/sfml-graphics-d-2.dll rename to Labirint Game/sfml/bin/sfml-graphics-d-2.dll diff --git a/Project_Labirint_Game/sfml/bin/sfml-network-2.dll b/Labirint Game/sfml/bin/sfml-network-2.dll similarity index 100% rename from Project_Labirint_Game/sfml/bin/sfml-network-2.dll rename to Labirint Game/sfml/bin/sfml-network-2.dll diff --git a/Project_Labirint_Game/sfml/bin/sfml-network-d-2.dll b/Labirint Game/sfml/bin/sfml-network-d-2.dll similarity index 100% rename from Project_Labirint_Game/sfml/bin/sfml-network-d-2.dll rename to Labirint Game/sfml/bin/sfml-network-d-2.dll diff --git a/Project_Labirint_Game/sfml/bin/sfml-system-2.dll b/Labirint Game/sfml/bin/sfml-system-2.dll similarity index 100% rename from Project_Labirint_Game/sfml/bin/sfml-system-2.dll rename to Labirint Game/sfml/bin/sfml-system-2.dll diff --git a/Project_Labirint_Game/sfml/bin/sfml-system-d-2.dll b/Labirint Game/sfml/bin/sfml-system-d-2.dll similarity index 100% rename from Project_Labirint_Game/sfml/bin/sfml-system-d-2.dll rename to Labirint Game/sfml/bin/sfml-system-d-2.dll diff --git a/Project_Labirint_Game/sfml/bin/sfml-window-2.dll b/Labirint Game/sfml/bin/sfml-window-2.dll similarity index 100% rename from Project_Labirint_Game/sfml/bin/sfml-window-2.dll rename to Labirint Game/sfml/bin/sfml-window-2.dll diff --git a/Project_Labirint_Game/sfml/bin/sfml-window-d-2.dll b/Labirint Game/sfml/bin/sfml-window-d-2.dll similarity index 100% rename from Project_Labirint_Game/sfml/bin/sfml-window-d-2.dll rename to Labirint Game/sfml/bin/sfml-window-d-2.dll diff --git a/Project_Labirint_Game/sfml/include/SFML/Audio.hpp b/Labirint Game/sfml/include/SFML/Audio.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/Audio.hpp rename to Labirint Game/sfml/include/SFML/Audio.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/Audio/AlResource.hpp b/Labirint Game/sfml/include/SFML/Audio/AlResource.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/Audio/AlResource.hpp rename to Labirint Game/sfml/include/SFML/Audio/AlResource.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/Audio/Export.hpp b/Labirint Game/sfml/include/SFML/Audio/Export.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/Audio/Export.hpp rename to Labirint Game/sfml/include/SFML/Audio/Export.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/Audio/InputSoundFile.hpp b/Labirint Game/sfml/include/SFML/Audio/InputSoundFile.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/Audio/InputSoundFile.hpp rename to Labirint Game/sfml/include/SFML/Audio/InputSoundFile.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/Audio/Listener.hpp b/Labirint Game/sfml/include/SFML/Audio/Listener.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/Audio/Listener.hpp rename to Labirint Game/sfml/include/SFML/Audio/Listener.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/Audio/Music.hpp b/Labirint Game/sfml/include/SFML/Audio/Music.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/Audio/Music.hpp rename to Labirint Game/sfml/include/SFML/Audio/Music.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/Audio/OutputSoundFile.hpp b/Labirint Game/sfml/include/SFML/Audio/OutputSoundFile.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/Audio/OutputSoundFile.hpp rename to Labirint Game/sfml/include/SFML/Audio/OutputSoundFile.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/Audio/Sound.hpp b/Labirint Game/sfml/include/SFML/Audio/Sound.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/Audio/Sound.hpp rename to Labirint Game/sfml/include/SFML/Audio/Sound.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/Audio/SoundBuffer.hpp b/Labirint Game/sfml/include/SFML/Audio/SoundBuffer.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/Audio/SoundBuffer.hpp rename to Labirint Game/sfml/include/SFML/Audio/SoundBuffer.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/Audio/SoundBufferRecorder.hpp b/Labirint Game/sfml/include/SFML/Audio/SoundBufferRecorder.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/Audio/SoundBufferRecorder.hpp rename to Labirint Game/sfml/include/SFML/Audio/SoundBufferRecorder.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/Audio/SoundFileFactory.hpp b/Labirint Game/sfml/include/SFML/Audio/SoundFileFactory.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/Audio/SoundFileFactory.hpp rename to Labirint Game/sfml/include/SFML/Audio/SoundFileFactory.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/Audio/SoundFileFactory.inl b/Labirint Game/sfml/include/SFML/Audio/SoundFileFactory.inl similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/Audio/SoundFileFactory.inl rename to Labirint Game/sfml/include/SFML/Audio/SoundFileFactory.inl diff --git a/Project_Labirint_Game/sfml/include/SFML/Audio/SoundFileReader.hpp b/Labirint Game/sfml/include/SFML/Audio/SoundFileReader.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/Audio/SoundFileReader.hpp rename to Labirint Game/sfml/include/SFML/Audio/SoundFileReader.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/Audio/SoundFileWriter.hpp b/Labirint Game/sfml/include/SFML/Audio/SoundFileWriter.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/Audio/SoundFileWriter.hpp rename to Labirint Game/sfml/include/SFML/Audio/SoundFileWriter.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/Audio/SoundRecorder.hpp b/Labirint Game/sfml/include/SFML/Audio/SoundRecorder.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/Audio/SoundRecorder.hpp rename to Labirint Game/sfml/include/SFML/Audio/SoundRecorder.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/Audio/SoundSource.hpp b/Labirint Game/sfml/include/SFML/Audio/SoundSource.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/Audio/SoundSource.hpp rename to Labirint Game/sfml/include/SFML/Audio/SoundSource.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/Audio/SoundStream.hpp b/Labirint Game/sfml/include/SFML/Audio/SoundStream.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/Audio/SoundStream.hpp rename to Labirint Game/sfml/include/SFML/Audio/SoundStream.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/Config.hpp b/Labirint Game/sfml/include/SFML/Config.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/Config.hpp rename to Labirint Game/sfml/include/SFML/Config.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/GpuPreference.hpp b/Labirint Game/sfml/include/SFML/GpuPreference.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/GpuPreference.hpp rename to Labirint Game/sfml/include/SFML/GpuPreference.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/Graphics.hpp b/Labirint Game/sfml/include/SFML/Graphics.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/Graphics.hpp rename to Labirint Game/sfml/include/SFML/Graphics.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/Graphics/BlendMode.hpp b/Labirint Game/sfml/include/SFML/Graphics/BlendMode.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/Graphics/BlendMode.hpp rename to Labirint Game/sfml/include/SFML/Graphics/BlendMode.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/Graphics/CircleShape.hpp b/Labirint Game/sfml/include/SFML/Graphics/CircleShape.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/Graphics/CircleShape.hpp rename to Labirint Game/sfml/include/SFML/Graphics/CircleShape.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/Graphics/Color.hpp b/Labirint Game/sfml/include/SFML/Graphics/Color.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/Graphics/Color.hpp rename to Labirint Game/sfml/include/SFML/Graphics/Color.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/Graphics/ConvexShape.hpp b/Labirint Game/sfml/include/SFML/Graphics/ConvexShape.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/Graphics/ConvexShape.hpp rename to Labirint Game/sfml/include/SFML/Graphics/ConvexShape.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/Graphics/Drawable.hpp b/Labirint Game/sfml/include/SFML/Graphics/Drawable.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/Graphics/Drawable.hpp rename to Labirint Game/sfml/include/SFML/Graphics/Drawable.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/Graphics/Export.hpp b/Labirint Game/sfml/include/SFML/Graphics/Export.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/Graphics/Export.hpp rename to Labirint Game/sfml/include/SFML/Graphics/Export.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/Graphics/Font.hpp b/Labirint Game/sfml/include/SFML/Graphics/Font.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/Graphics/Font.hpp rename to Labirint Game/sfml/include/SFML/Graphics/Font.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/Graphics/Glsl.hpp b/Labirint Game/sfml/include/SFML/Graphics/Glsl.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/Graphics/Glsl.hpp rename to Labirint Game/sfml/include/SFML/Graphics/Glsl.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/Graphics/Glsl.inl b/Labirint Game/sfml/include/SFML/Graphics/Glsl.inl similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/Graphics/Glsl.inl rename to Labirint Game/sfml/include/SFML/Graphics/Glsl.inl diff --git a/Project_Labirint_Game/sfml/include/SFML/Graphics/Glyph.hpp b/Labirint Game/sfml/include/SFML/Graphics/Glyph.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/Graphics/Glyph.hpp rename to Labirint Game/sfml/include/SFML/Graphics/Glyph.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/Graphics/Image.hpp b/Labirint Game/sfml/include/SFML/Graphics/Image.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/Graphics/Image.hpp rename to Labirint Game/sfml/include/SFML/Graphics/Image.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/Graphics/PrimitiveType.hpp b/Labirint Game/sfml/include/SFML/Graphics/PrimitiveType.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/Graphics/PrimitiveType.hpp rename to Labirint Game/sfml/include/SFML/Graphics/PrimitiveType.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/Graphics/Rect.hpp b/Labirint Game/sfml/include/SFML/Graphics/Rect.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/Graphics/Rect.hpp rename to Labirint Game/sfml/include/SFML/Graphics/Rect.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/Graphics/Rect.inl b/Labirint Game/sfml/include/SFML/Graphics/Rect.inl similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/Graphics/Rect.inl rename to Labirint Game/sfml/include/SFML/Graphics/Rect.inl diff --git a/Project_Labirint_Game/sfml/include/SFML/Graphics/RectangleShape.hpp b/Labirint Game/sfml/include/SFML/Graphics/RectangleShape.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/Graphics/RectangleShape.hpp rename to Labirint Game/sfml/include/SFML/Graphics/RectangleShape.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/Graphics/RenderStates.hpp b/Labirint Game/sfml/include/SFML/Graphics/RenderStates.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/Graphics/RenderStates.hpp rename to Labirint Game/sfml/include/SFML/Graphics/RenderStates.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/Graphics/RenderTarget.hpp b/Labirint Game/sfml/include/SFML/Graphics/RenderTarget.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/Graphics/RenderTarget.hpp rename to Labirint Game/sfml/include/SFML/Graphics/RenderTarget.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/Graphics/RenderTexture.hpp b/Labirint Game/sfml/include/SFML/Graphics/RenderTexture.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/Graphics/RenderTexture.hpp rename to Labirint Game/sfml/include/SFML/Graphics/RenderTexture.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/Graphics/RenderWindow.hpp b/Labirint Game/sfml/include/SFML/Graphics/RenderWindow.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/Graphics/RenderWindow.hpp rename to Labirint Game/sfml/include/SFML/Graphics/RenderWindow.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/Graphics/Shader.hpp b/Labirint Game/sfml/include/SFML/Graphics/Shader.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/Graphics/Shader.hpp rename to Labirint Game/sfml/include/SFML/Graphics/Shader.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/Graphics/Shape.hpp b/Labirint Game/sfml/include/SFML/Graphics/Shape.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/Graphics/Shape.hpp rename to Labirint Game/sfml/include/SFML/Graphics/Shape.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/Graphics/Sprite.hpp b/Labirint Game/sfml/include/SFML/Graphics/Sprite.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/Graphics/Sprite.hpp rename to Labirint Game/sfml/include/SFML/Graphics/Sprite.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/Graphics/Text.hpp b/Labirint Game/sfml/include/SFML/Graphics/Text.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/Graphics/Text.hpp rename to Labirint Game/sfml/include/SFML/Graphics/Text.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/Graphics/Texture.hpp b/Labirint Game/sfml/include/SFML/Graphics/Texture.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/Graphics/Texture.hpp rename to Labirint Game/sfml/include/SFML/Graphics/Texture.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/Graphics/Transform.hpp b/Labirint Game/sfml/include/SFML/Graphics/Transform.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/Graphics/Transform.hpp rename to Labirint Game/sfml/include/SFML/Graphics/Transform.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/Graphics/Transformable.hpp b/Labirint Game/sfml/include/SFML/Graphics/Transformable.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/Graphics/Transformable.hpp rename to Labirint Game/sfml/include/SFML/Graphics/Transformable.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/Graphics/Vertex.hpp b/Labirint Game/sfml/include/SFML/Graphics/Vertex.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/Graphics/Vertex.hpp rename to Labirint Game/sfml/include/SFML/Graphics/Vertex.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/Graphics/VertexArray.hpp b/Labirint Game/sfml/include/SFML/Graphics/VertexArray.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/Graphics/VertexArray.hpp rename to Labirint Game/sfml/include/SFML/Graphics/VertexArray.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/Graphics/VertexBuffer.hpp b/Labirint Game/sfml/include/SFML/Graphics/VertexBuffer.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/Graphics/VertexBuffer.hpp rename to Labirint Game/sfml/include/SFML/Graphics/VertexBuffer.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/Graphics/View.hpp b/Labirint Game/sfml/include/SFML/Graphics/View.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/Graphics/View.hpp rename to Labirint Game/sfml/include/SFML/Graphics/View.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/Main.hpp b/Labirint Game/sfml/include/SFML/Main.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/Main.hpp rename to Labirint Game/sfml/include/SFML/Main.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/Network.hpp b/Labirint Game/sfml/include/SFML/Network.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/Network.hpp rename to Labirint Game/sfml/include/SFML/Network.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/Network/Export.hpp b/Labirint Game/sfml/include/SFML/Network/Export.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/Network/Export.hpp rename to Labirint Game/sfml/include/SFML/Network/Export.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/Network/Ftp.hpp b/Labirint Game/sfml/include/SFML/Network/Ftp.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/Network/Ftp.hpp rename to Labirint Game/sfml/include/SFML/Network/Ftp.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/Network/Http.hpp b/Labirint Game/sfml/include/SFML/Network/Http.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/Network/Http.hpp rename to Labirint Game/sfml/include/SFML/Network/Http.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/Network/IpAddress.hpp b/Labirint Game/sfml/include/SFML/Network/IpAddress.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/Network/IpAddress.hpp rename to Labirint Game/sfml/include/SFML/Network/IpAddress.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/Network/Packet.hpp b/Labirint Game/sfml/include/SFML/Network/Packet.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/Network/Packet.hpp rename to Labirint Game/sfml/include/SFML/Network/Packet.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/Network/Socket.hpp b/Labirint Game/sfml/include/SFML/Network/Socket.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/Network/Socket.hpp rename to Labirint Game/sfml/include/SFML/Network/Socket.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/Network/SocketHandle.hpp b/Labirint Game/sfml/include/SFML/Network/SocketHandle.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/Network/SocketHandle.hpp rename to Labirint Game/sfml/include/SFML/Network/SocketHandle.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/Network/SocketSelector.hpp b/Labirint Game/sfml/include/SFML/Network/SocketSelector.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/Network/SocketSelector.hpp rename to Labirint Game/sfml/include/SFML/Network/SocketSelector.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/Network/TcpListener.hpp b/Labirint Game/sfml/include/SFML/Network/TcpListener.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/Network/TcpListener.hpp rename to Labirint Game/sfml/include/SFML/Network/TcpListener.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/Network/TcpSocket.hpp b/Labirint Game/sfml/include/SFML/Network/TcpSocket.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/Network/TcpSocket.hpp rename to Labirint Game/sfml/include/SFML/Network/TcpSocket.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/Network/UdpSocket.hpp b/Labirint Game/sfml/include/SFML/Network/UdpSocket.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/Network/UdpSocket.hpp rename to Labirint Game/sfml/include/SFML/Network/UdpSocket.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/OpenGL.hpp b/Labirint Game/sfml/include/SFML/OpenGL.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/OpenGL.hpp rename to Labirint Game/sfml/include/SFML/OpenGL.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/System.hpp b/Labirint Game/sfml/include/SFML/System.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/System.hpp rename to Labirint Game/sfml/include/SFML/System.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/System/Clock.hpp b/Labirint Game/sfml/include/SFML/System/Clock.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/System/Clock.hpp rename to Labirint Game/sfml/include/SFML/System/Clock.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/System/Err.hpp b/Labirint Game/sfml/include/SFML/System/Err.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/System/Err.hpp rename to Labirint Game/sfml/include/SFML/System/Err.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/System/Export.hpp b/Labirint Game/sfml/include/SFML/System/Export.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/System/Export.hpp rename to Labirint Game/sfml/include/SFML/System/Export.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/System/FileInputStream.hpp b/Labirint Game/sfml/include/SFML/System/FileInputStream.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/System/FileInputStream.hpp rename to Labirint Game/sfml/include/SFML/System/FileInputStream.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/System/InputStream.hpp b/Labirint Game/sfml/include/SFML/System/InputStream.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/System/InputStream.hpp rename to Labirint Game/sfml/include/SFML/System/InputStream.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/System/Lock.hpp b/Labirint Game/sfml/include/SFML/System/Lock.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/System/Lock.hpp rename to Labirint Game/sfml/include/SFML/System/Lock.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/System/MemoryInputStream.hpp b/Labirint Game/sfml/include/SFML/System/MemoryInputStream.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/System/MemoryInputStream.hpp rename to Labirint Game/sfml/include/SFML/System/MemoryInputStream.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/System/Mutex.hpp b/Labirint Game/sfml/include/SFML/System/Mutex.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/System/Mutex.hpp rename to Labirint Game/sfml/include/SFML/System/Mutex.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/System/NativeActivity.hpp b/Labirint Game/sfml/include/SFML/System/NativeActivity.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/System/NativeActivity.hpp rename to Labirint Game/sfml/include/SFML/System/NativeActivity.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/System/NonCopyable.hpp b/Labirint Game/sfml/include/SFML/System/NonCopyable.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/System/NonCopyable.hpp rename to Labirint Game/sfml/include/SFML/System/NonCopyable.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/System/Sleep.hpp b/Labirint Game/sfml/include/SFML/System/Sleep.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/System/Sleep.hpp rename to Labirint Game/sfml/include/SFML/System/Sleep.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/System/String.hpp b/Labirint Game/sfml/include/SFML/System/String.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/System/String.hpp rename to Labirint Game/sfml/include/SFML/System/String.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/System/String.inl b/Labirint Game/sfml/include/SFML/System/String.inl similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/System/String.inl rename to Labirint Game/sfml/include/SFML/System/String.inl diff --git a/Project_Labirint_Game/sfml/include/SFML/System/Thread.hpp b/Labirint Game/sfml/include/SFML/System/Thread.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/System/Thread.hpp rename to Labirint Game/sfml/include/SFML/System/Thread.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/System/Thread.inl b/Labirint Game/sfml/include/SFML/System/Thread.inl similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/System/Thread.inl rename to Labirint Game/sfml/include/SFML/System/Thread.inl diff --git a/Project_Labirint_Game/sfml/include/SFML/System/ThreadLocal.hpp b/Labirint Game/sfml/include/SFML/System/ThreadLocal.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/System/ThreadLocal.hpp rename to Labirint Game/sfml/include/SFML/System/ThreadLocal.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/System/ThreadLocalPtr.hpp b/Labirint Game/sfml/include/SFML/System/ThreadLocalPtr.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/System/ThreadLocalPtr.hpp rename to Labirint Game/sfml/include/SFML/System/ThreadLocalPtr.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/System/ThreadLocalPtr.inl b/Labirint Game/sfml/include/SFML/System/ThreadLocalPtr.inl similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/System/ThreadLocalPtr.inl rename to Labirint Game/sfml/include/SFML/System/ThreadLocalPtr.inl diff --git a/Project_Labirint_Game/sfml/include/SFML/System/Time.hpp b/Labirint Game/sfml/include/SFML/System/Time.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/System/Time.hpp rename to Labirint Game/sfml/include/SFML/System/Time.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/System/Utf.hpp b/Labirint Game/sfml/include/SFML/System/Utf.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/System/Utf.hpp rename to Labirint Game/sfml/include/SFML/System/Utf.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/System/Utf.inl b/Labirint Game/sfml/include/SFML/System/Utf.inl similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/System/Utf.inl rename to Labirint Game/sfml/include/SFML/System/Utf.inl diff --git a/Project_Labirint_Game/sfml/include/SFML/System/Vector2.hpp b/Labirint Game/sfml/include/SFML/System/Vector2.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/System/Vector2.hpp rename to Labirint Game/sfml/include/SFML/System/Vector2.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/System/Vector2.inl b/Labirint Game/sfml/include/SFML/System/Vector2.inl similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/System/Vector2.inl rename to Labirint Game/sfml/include/SFML/System/Vector2.inl diff --git a/Project_Labirint_Game/sfml/include/SFML/System/Vector3.hpp b/Labirint Game/sfml/include/SFML/System/Vector3.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/System/Vector3.hpp rename to Labirint Game/sfml/include/SFML/System/Vector3.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/System/Vector3.inl b/Labirint Game/sfml/include/SFML/System/Vector3.inl similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/System/Vector3.inl rename to Labirint Game/sfml/include/SFML/System/Vector3.inl diff --git a/Project_Labirint_Game/sfml/include/SFML/Window.hpp b/Labirint Game/sfml/include/SFML/Window.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/Window.hpp rename to Labirint Game/sfml/include/SFML/Window.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/Window/Clipboard.hpp b/Labirint Game/sfml/include/SFML/Window/Clipboard.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/Window/Clipboard.hpp rename to Labirint Game/sfml/include/SFML/Window/Clipboard.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/Window/Context.hpp b/Labirint Game/sfml/include/SFML/Window/Context.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/Window/Context.hpp rename to Labirint Game/sfml/include/SFML/Window/Context.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/Window/ContextSettings.hpp b/Labirint Game/sfml/include/SFML/Window/ContextSettings.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/Window/ContextSettings.hpp rename to Labirint Game/sfml/include/SFML/Window/ContextSettings.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/Window/Cursor.hpp b/Labirint Game/sfml/include/SFML/Window/Cursor.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/Window/Cursor.hpp rename to Labirint Game/sfml/include/SFML/Window/Cursor.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/Window/Event.hpp b/Labirint Game/sfml/include/SFML/Window/Event.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/Window/Event.hpp rename to Labirint Game/sfml/include/SFML/Window/Event.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/Window/Export.hpp b/Labirint Game/sfml/include/SFML/Window/Export.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/Window/Export.hpp rename to Labirint Game/sfml/include/SFML/Window/Export.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/Window/GlResource.hpp b/Labirint Game/sfml/include/SFML/Window/GlResource.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/Window/GlResource.hpp rename to Labirint Game/sfml/include/SFML/Window/GlResource.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/Window/Joystick.hpp b/Labirint Game/sfml/include/SFML/Window/Joystick.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/Window/Joystick.hpp rename to Labirint Game/sfml/include/SFML/Window/Joystick.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/Window/Keyboard.hpp b/Labirint Game/sfml/include/SFML/Window/Keyboard.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/Window/Keyboard.hpp rename to Labirint Game/sfml/include/SFML/Window/Keyboard.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/Window/Mouse.hpp b/Labirint Game/sfml/include/SFML/Window/Mouse.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/Window/Mouse.hpp rename to Labirint Game/sfml/include/SFML/Window/Mouse.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/Window/Sensor.hpp b/Labirint Game/sfml/include/SFML/Window/Sensor.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/Window/Sensor.hpp rename to Labirint Game/sfml/include/SFML/Window/Sensor.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/Window/Touch.hpp b/Labirint Game/sfml/include/SFML/Window/Touch.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/Window/Touch.hpp rename to Labirint Game/sfml/include/SFML/Window/Touch.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/Window/VideoMode.hpp b/Labirint Game/sfml/include/SFML/Window/VideoMode.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/Window/VideoMode.hpp rename to Labirint Game/sfml/include/SFML/Window/VideoMode.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/Window/Window.hpp b/Labirint Game/sfml/include/SFML/Window/Window.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/Window/Window.hpp rename to Labirint Game/sfml/include/SFML/Window/Window.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/Window/WindowHandle.hpp b/Labirint Game/sfml/include/SFML/Window/WindowHandle.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/Window/WindowHandle.hpp rename to Labirint Game/sfml/include/SFML/Window/WindowHandle.hpp diff --git a/Project_Labirint_Game/sfml/include/SFML/Window/WindowStyle.hpp b/Labirint Game/sfml/include/SFML/Window/WindowStyle.hpp similarity index 100% rename from Project_Labirint_Game/sfml/include/SFML/Window/WindowStyle.hpp rename to Labirint Game/sfml/include/SFML/Window/WindowStyle.hpp diff --git a/Project_Labirint_Game/sfml/lib/cmake/SFML/SFMLConfig.cmake b/Labirint Game/sfml/lib/cmake/SFML/SFMLConfig.cmake similarity index 100% rename from Project_{"code":"deadline_exceeded","msg":"operation timed out"}